Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added initial spike of the project documentation

  • Loading branch information...
commit 6dc793c987779a4b5bf02ac72ca08960128ec587 1 parent 7be0d39
Lee Hambley authored June 07, 2012

Showing 65 changed files with 1,275 additions and 0 deletions. Show diff stats Hide diff stats

  1. BIN  .sass-cache/08c18167d0a1cfb170121dfc65f5c864c7b9024e/_compass.scssc
  2. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_appearance.scssc
  3. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_background-clip.scssc
  4. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_background-origin.scssc
  5. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_background-size.scssc
  6. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_border-radius.scssc
  7. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_box-shadow.scssc
  8. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_box-sizing.scssc
  9. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_box.scssc
  10. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_columns.scssc
  11. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_font-face.scssc
  12. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_images.scssc
  13. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_inline-block.scssc
  14. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_opacity.scssc
  15. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_shared.scssc
  16. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_text-shadow.scssc
  17. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_transform.scssc
  18. BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_transition.scssc
  19. BIN  .sass-cache/1bb0b1c236945b62e445b7be02afbfc9544dc7da/_bootstrap.scssc
  20. BIN  .sass-cache/1bb0b1c236945b62e445b7be02afbfc9544dc7da/site.css.scssc
  21. BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_clearfix.scssc
  22. BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_float.scssc
  23. BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_hacks.scssc
  24. BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_min.scssc
  25. BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_reset.scssc
  26. BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_tag-cloud.scssc
  27. BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_color.scssc
  28. BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_general.scssc
  29. BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_sprites.scssc
  30. BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_tables.scssc
  31. BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_bullets.scssc
  32. BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_horizontal-list.scssc
  33. BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_inline-block-list.scssc
  34. BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_inline-list.scssc
  35. BIN  .sass-cache/40099aa26ebceb04a40346873a60c58f2b328459/_alternating-rows-and-columns.scssc
  36. BIN  .sass-cache/40099aa26ebceb04a40346873a60c58f2b328459/_borders.scssc
  37. BIN  .sass-cache/40099aa26ebceb04a40346873a60c58f2b328459/_scaffolding.scssc
  38. BIN  .sass-cache/47e95682568455a1b54aa6adb03c56a366e1d390/_hover-link.scssc
  39. BIN  .sass-cache/47e95682568455a1b54aa6adb03c56a366e1d390/_link-colors.scssc
  40. BIN  .sass-cache/47e95682568455a1b54aa6adb03c56a366e1d390/_unstyled-link.scssc
  41. BIN  .sass-cache/4ab659da924fd1d3591c17d30e379591acc422eb/_base.scssc
  42. BIN  .sass-cache/4ab659da924fd1d3591c17d30e379591acc422eb/_sprite-img.scssc
  43. BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_links.scssc
  44. BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_lists.scssc
  45. BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_text.scssc
  46. BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_vertical_rhythm.scssc
  47. BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_ellipsis.scssc
  48. BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_force-wrap.scssc
  49. BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_nowrap.scssc
  50. BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_replacement.scssc
  51. BIN  .sass-cache/d591e27e6f0d0d6a7ada41f6e3220cc44674195f/_contrast.scssc
  52. BIN  .sass-cache/de61dbd2928917d1dd288c85c4c8a581ca82bb5d/_utilities.scssc
  53. BIN  .sass-cache/e74407958647aef81ec66c83f7de5b23b38d3615/_grid-background.scssc
  54. BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_css3.scssc
  55. BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_support.scssc
  56. BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_typography.scssc
  57. BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_utilities.scssc
  58. 5  Gemfile
  59. 107  Gemfile.lock
  60. 92  config.rb
  61. 201  source/faq.html.haml
  62. 50  source/index.html.haml
  63. 19  source/layout.haml
  64. 800  source/stylesheets/_bootstrap.scss
  65. 1  source/stylesheets/site.css.scss
BIN  .sass-cache/08c18167d0a1cfb170121dfc65f5c864c7b9024e/_compass.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_appearance.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_background-clip.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_background-origin.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_background-size.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_border-radius.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_box-shadow.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_box-sizing.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_box.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_columns.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_font-face.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_images.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_inline-block.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_opacity.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_shared.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_text-shadow.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_transform.scssc
Binary file not shown
BIN  .sass-cache/0a3d9d7b611d52eec333239165a6907b92f3f919/_transition.scssc
Binary file not shown
BIN  .sass-cache/1bb0b1c236945b62e445b7be02afbfc9544dc7da/_bootstrap.scssc
Binary file not shown
BIN  .sass-cache/1bb0b1c236945b62e445b7be02afbfc9544dc7da/site.css.scssc
Binary file not shown
BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_clearfix.scssc
Binary file not shown
BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_float.scssc
Binary file not shown
BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_hacks.scssc
Binary file not shown
BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_min.scssc
Binary file not shown
BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_reset.scssc
Binary file not shown
BIN  .sass-cache/2b322e46001686fd6ba98f3150800d75a3f8b9cd/_tag-cloud.scssc
Binary file not shown
BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_color.scssc
Binary file not shown
BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_general.scssc
Binary file not shown
BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_sprites.scssc
Binary file not shown
BIN  .sass-cache/31a062a3678e456311e6cc214281bfc99c90a3dc/_tables.scssc
Binary file not shown
BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_bullets.scssc
Binary file not shown
BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_horizontal-list.scssc
Binary file not shown
BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_inline-block-list.scssc
Binary file not shown
BIN  .sass-cache/34ecafdf1e95bfadc510f5ff4fef5648bad9596c/_inline-list.scssc
Binary file not shown
BIN  .sass-cache/40099aa26ebceb04a40346873a60c58f2b328459/_alternating-rows-and-columns.scssc
Binary file not shown
BIN  .sass-cache/40099aa26ebceb04a40346873a60c58f2b328459/_borders.scssc
Binary file not shown
BIN  .sass-cache/40099aa26ebceb04a40346873a60c58f2b328459/_scaffolding.scssc
Binary file not shown
BIN  .sass-cache/47e95682568455a1b54aa6adb03c56a366e1d390/_hover-link.scssc
Binary file not shown
BIN  .sass-cache/47e95682568455a1b54aa6adb03c56a366e1d390/_link-colors.scssc
Binary file not shown
BIN  .sass-cache/47e95682568455a1b54aa6adb03c56a366e1d390/_unstyled-link.scssc
Binary file not shown
BIN  .sass-cache/4ab659da924fd1d3591c17d30e379591acc422eb/_base.scssc
Binary file not shown
BIN  .sass-cache/4ab659da924fd1d3591c17d30e379591acc422eb/_sprite-img.scssc
Binary file not shown
BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_links.scssc
Binary file not shown
BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_lists.scssc
Binary file not shown
BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_text.scssc
Binary file not shown
BIN  .sass-cache/8ba7cc8bf1836fdfa415fff87655c8cf86e2fd34/_vertical_rhythm.scssc
Binary file not shown
BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_ellipsis.scssc
Binary file not shown
BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_force-wrap.scssc
Binary file not shown
BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_nowrap.scssc
Binary file not shown
BIN  .sass-cache/b92013ef46612a4670e22c7d79a0ada3d1d0a527/_replacement.scssc
Binary file not shown
BIN  .sass-cache/d591e27e6f0d0d6a7ada41f6e3220cc44674195f/_contrast.scssc
Binary file not shown
BIN  .sass-cache/de61dbd2928917d1dd288c85c4c8a581ca82bb5d/_utilities.scssc
Binary file not shown
BIN  .sass-cache/e74407958647aef81ec66c83f7de5b23b38d3615/_grid-background.scssc
Binary file not shown
BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_css3.scssc
Binary file not shown
BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_support.scssc
Binary file not shown
BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_typography.scssc
Binary file not shown
BIN  .sass-cache/ed449aaeb7e64f8ee334b1a69bcd273fdb7a1bca/_utilities.scssc
Binary file not shown
5  Gemfile
... ...
@@ -0,0 +1,5 @@
  1
+# A sample Gemfile
  2
+source "https://rubygems.org"
  3
+
  4
+gem "middleman"
  5
+gem "haml"
107  Gemfile.lock
... ...
@@ -0,0 +1,107 @@
  1
+GEM
  2
+  remote: https://rubygems.org/
  3
+  specs:
  4
+    activesupport (3.2.5)
  5
+      i18n (~> 0.6)
  6
+      multi_json (~> 1.0)
  7
+    addressable (2.2.8)
  8
+    chunky_png (1.2.5)
  9
+    coffee-script (2.2.0)
  10
+      coffee-script-source
  11
+      execjs
  12
+    coffee-script-source (1.3.3)
  13
+    compass (0.12.1)
  14
+      chunky_png (~> 1.2)
  15
+      fssm (>= 0.2.7)
  16
+      sass (~> 3.1)
  17
+    daemons (1.1.8)
  18
+    em-websocket (0.3.6)
  19
+      addressable (>= 2.1.1)
  20
+      eventmachine (>= 0.12.9)
  21
+    eventmachine (0.12.10)
  22
+    execjs (1.2.13)
  23
+      multi_json (~> 1.0)
  24
+    fssm (0.2.9)
  25
+    guard (0.6.3)
  26
+      thor (~> 0.14.6)
  27
+    guard-livereload (0.3.1)
  28
+      em-websocket (>= 0.2.0)
  29
+      guard (>= 0.4.0)
  30
+      multi_json (~> 1.0.3)
  31
+    haml (3.1.6)
  32
+    hike (1.2.1)
  33
+    http_router (0.10.2)
  34
+      rack (>= 1.0.0)
  35
+      url_mount (~> 0.2.1)
  36
+    i18n (0.6.0)
  37
+    maruku (0.6.0)
  38
+      syntax (>= 1.0.0)
  39
+    middleman (2.0.15.3)
  40
+      coffee-script (~> 2.2.0)
  41
+      compass (~> 0.11)
  42
+      execjs (~> 1.2.7)
  43
+      guard (~> 0.6.2)
  44
+      haml (~> 3.1.0)
  45
+      maruku (~> 0.6.0)
  46
+      middleman-livereload (~> 0.2.0)
  47
+      padrino-core (~> 0.10.5)
  48
+      padrino-helpers (~> 0.10.5)
  49
+      rack (~> 1.3.5)
  50
+      rack-test (~> 0.6.1)
  51
+      sass (>= 3.1.7)
  52
+      sinatra (~> 1.3.1)
  53
+      slim (~> 1.0.2)
  54
+      sprockets (~> 2.0.3)
  55
+      thin (~> 1.2.11)
  56
+      thor (~> 0.14.0)
  57
+      tilt (~> 1.3.1)
  58
+      uglifier (~> 1.2)
  59
+    middleman-livereload (0.2.1)
  60
+      guard-livereload (~> 0.3.1)
  61
+    multi_json (1.0.4)
  62
+    padrino-core (0.10.6)
  63
+      activesupport (~> 3.2.0)
  64
+      http_router (~> 0.10.2)
  65
+      sinatra (~> 1.3.1)
  66
+      thor (~> 0.14.3)
  67
+      tilt (~> 1.3.0)
  68
+    padrino-helpers (0.10.6)
  69
+      i18n (~> 0.6)
  70
+      padrino-core (= 0.10.6)
  71
+    rack (1.3.6)
  72
+    rack-protection (1.2.0)
  73
+      rack
  74
+    rack-test (0.6.1)
  75
+      rack (>= 1.0)
  76
+    sass (3.1.19)
  77
+    sinatra (1.3.2)
  78
+      rack (~> 1.3, >= 1.3.6)
  79
+      rack-protection (~> 1.2)
  80
+      tilt (~> 1.3, >= 1.3.3)
  81
+    slim (1.0.4)
  82
+      temple (~> 0.3.4)
  83
+      tilt (~> 1.3.2)
  84
+    sprockets (2.0.4)
  85
+      hike (~> 1.2)
  86
+      rack (~> 1.0)
  87
+      tilt (~> 1.1, != 1.3.0)
  88
+    syntax (1.0.0)
  89
+    temple (0.3.5)
  90
+    thin (1.2.11)
  91
+      daemons (>= 1.0.9)
  92
+      eventmachine (>= 0.12.6)
  93
+      rack (>= 1.0.0)
  94
+    thor (0.14.6)
  95
+    tilt (1.3.3)
  96
+    uglifier (1.2.4)
  97
+      execjs (>= 0.3.0)
  98
+      multi_json (>= 1.0.2)
  99
+    url_mount (0.2.1)
  100
+      rack
  101
+
  102
+PLATFORMS
  103
+  ruby
  104
+
  105
+DEPENDENCIES
  106
+  haml
  107
+  middleman
92  config.rb
... ...
@@ -0,0 +1,92 @@
  1
+### 
  2
+# Compass
  3
+###
  4
+
  5
+# Susy grids in Compass
  6
+# First: gem install compass-susy-plugin
  7
+# require 'susy'
  8
+
  9
+# Change Compass configuration
  10
+# compass_config do |config|
  11
+#   config.output_style = :compact
  12
+# end
  13
+
  14
+###
  15
+# Haml
  16
+###
  17
+
  18
+# CodeRay syntax highlighting in Haml
  19
+# First: gem install haml-coderay
  20
+# require 'haml-coderay'
  21
+
  22
+# CoffeeScript filters in Haml
  23
+# First: gem install coffee-filter
  24
+# require 'coffee-filter'
  25
+
  26
+# Automatic image dimensions on image_tag helper
  27
+# activate :automatic_image_sizes
  28
+
  29
+###
  30
+# Page command
  31
+###
  32
+
  33
+# Per-page layout changes:
  34
+# 
  35
+# With no layout
  36
+# page "/path/to/file.html", :layout => false
  37
+# 
  38
+# With alternative layout
  39
+# page "/path/to/file.html", :layout => :otherlayout
  40
+# 
  41
+# A path which all have the same layout
  42
+# with_layout :admin do
  43
+#   page "/admin/*"
  44
+# end
  45
+
  46
+# Proxy (fake) files
  47
+# page "/this-page-has-no-template.html", :proxy => "/template-file.html" do
  48
+#   @which_fake_page = "Rendering a fake page with a variable"
  49
+# end
  50
+
  51
+###
  52
+# Helpers
  53
+###
  54
+
  55
+# Methods defined in the helpers block are available in templates
  56
+# helpers do
  57
+#   def some_helper
  58
+#     "Helping"
  59
+#   end
  60
+# end
  61
+
  62
+# Change the CSS directory
  63
+# set :css_dir, "alternative_css_directory"
  64
+
  65
+# Change the JS directory
  66
+# set :js_dir, "alternative_js_directory"
  67
+
  68
+# Change the images directory
  69
+# set :images_dir, "alternative_image_directory"
  70
+
  71
+# Build-specific configuration
  72
+configure :build do
  73
+  # For example, change the Compass output style for deployment
  74
+  # activate :minify_css
  75
+  
  76
+  # Minify Javascript on build
  77
+  # activate :minify_javascript
  78
+  
  79
+  # Enable cache buster
  80
+  # activate :cache_buster
  81
+  
  82
+  # Use relative URLs
  83
+  # activate :relative_assets
  84
+  
  85
+  # Compress PNGs after build
  86
+  # First: gem install middleman-smusher
  87
+  # require "middleman-smusher"
  88
+  # activate :smusher
  89
+  
  90
+  # Or use a different image path
  91
+  # set :http_path, "/Content/images/"
  92
+end
201  source/faq.html.haml
... ...
@@ -0,0 +1,201 @@
  1
+- content_for :head do
  2
+  %title Capistrano Frequently Asked Questions
  3
+
  4
+%h2 How does Capistrano work?
  5
+
  6
+:markdown
  7
+  Capistrano uses the Ruby library *Net::SSH* to drive connections to one or more hosts,
  8
+  upon these hosts it uses simple shell commands to perform the checking-out of source code
  9
+  creating files, managing configurations, and restarting services. It assumes that the servers
  10
+  have been prepared to a certain standard; normally using an automated tool such as Chef or Puppet.
  11
+
  12
+%h2 How does Capistrano execute commands?
  13
+
  14
+:markdown
  15
+  Capistrano creates *non-login* shell sessions using *Net::SSH*. To eliminate differences between
  16
+  shell implementations, commands are wrapped in a `sh` wrapper. Here's is an example
  17
+
  18
+%pre
  19
+  %code sh -c 'whoami'
  20
+
  21
+:markdown
  22
+
  23
+  The commands are wrapped by `sh` to protect against differences between different shells, if you wish
  24
+  to reset this, and not wrap them (that is, run all commands natively in your host's default shell
  25
+  which is most likely *Bash*) you can add the following to your Capfile:
  26
+
  27
+      default_run_options[:shell] = false
  28
+
  29
+%h2 Something works when I use SSH, but doesn't work in Capistrano!
  30
+
  31
+:markdown
  32
+  A common misconception is that all shells are created equal, and that SSH'ing into to a host
  33
+  is the same as using Capistrano to connect.
  34
+
  35
+  There are two important differences, one is between a TTY and a non-TTY, the second between a login
  36
+  shell and a non-login shell.
  37
+
  38
+  In UNIX when using a terminal, that is a *[TTY]* (**T**ele**TY**pe Terminal), it is a device capable of
  39
+  buffered input and output for interacting with a user.
  40
+
  41
+  However when using output redirection in UNIX, and input redirection the process can detect whether
  42
+  the output is going to a terminal (a TTY) or has been redirected to a file (non-TTY).
  43
+
  44
+  Similarly for input, although less common; the process can infer whether the *STDIN* is a TTY (and thus
  45
+  it may prompt for input in response to a question) or whether that input is being streamed from a file.
  46
+  In the later case, there is no way to interact with a user, and many applications (apt, git, sudo)
  47
+  correctly exit when they cannot continue. Badly written progrms may try to prompt when no TTY is present,
  48
+  often leading to them hanging waiting for a response.
  49
+
  50
+  Many pieces of software use this information to determine, for example whether to output color escape
  51
+  sequences (which it should not do when being redirected to a file), or in the case of *sudo*, to detect
  52
+  whether there is a user waiting on the terminal who may provide a password, or if this is an automated
  53
+  script.
  54
+
  55
+  In the latter case, *sudo* raises an error, as there is no logical way to continue.
  56
+
  57
+  Here's a table in summary:
  58
+
  59
+  [TTY]: http://en.wikipedia.org/wiki/Computer_terminal#Historical
  60
+  [1]: http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-tty-3F
  61
+
  62
+%table.table
  63
+  %tbody
  64
+    %tr
  65
+      %th TTY
  66
+      %td
  67
+        Can prompt for input.
  68
+        %br
  69
+        Well designed programs should offer enhanced output, colours and/or bells.
  70
+      %th Non-TTY
  71
+      %td
  72
+        • Can not prompt for input.
  73
+        %br
  74
+        &bull; Well designed programs should print <i>file friendly</i> output without unnecessary
  75
+        decorations
  76
+    %tr
  77
+      %th Login Shell
  78
+      %td
  79
+        &bull; Will typically run <i>~/.bashrc</i>, <i>~/.bashprofile</i> or similar shell <i>dotfiles</i>
  80
+        %br
  81
+        &bull; Persistent commands, changing the directory with <i>cd</i> will change the directory
  82
+        for the remainer of the session.
  83
+      %th Non-Login Shell
  84
+      %td
  85
+        &bull; Shell environment files are <strong>not</strong> processed.
  86
+        %br
  87
+        &bull; Changing the directory has no effect beyond the current command, upon the next command
  88
+        the working directory will be the system default.
  89
+
  90
+:markdown
  91
+  Capistrano uses non-login non-tty shells, there is an option to use a pseudo-TTY which may
  92
+  change the behaviour of certain commands. The variable can be added to your *Capfile*.
  93
+
  94
+      default_run_options[:pty] = true
  95
+
  96
+  You probably only need to change this variable if you expect some prompt (Capistrano includes some tools
  97
+  for responding to prompts), and it is not being triggered.
  98
+
  99
+  For an accurate copy of how Capistrano runs commands, try this:
  100
+
  101
+      ssh user@my_application.com "sh -c 'env'"
  102
+
  103
+  Compare this output with the result of running `env` when logging in in the usual way, and you will notice
  104
+  quite a difference.
  105
+
  106
+%h2 What does the directory structure look like?
  107
+
  108
+:markdown
  109
+
  110
+  Capistrano expects (and can create for you) the following directory structure, assuming the variable
  111
+  `:deploy_to` is set to `/opt/sites`
  112
+
  113
+      /opt/sites/
  114
+      /opt/sites/my_app/
  115
+      /opt/sites/my_app/current -> ./releases/20120105180000
  116
+      /opt/sites/my_app/releases
  117
+      /opt/sites/my_app/releases/20120105180000
  118
+      /opt/sites/my_app/releases/20120101164593
  119
+      /opt/sites/my_app/shared
  120
+      /opt/sites/my_app/shared/tmp
  121
+      /opt/sites/my_app/shared/public
  122
+
  123
+  The `current` directory, is in fact a symlink to the latest successful release, each release is
  124
+  named (by default) as the current date and time stamp.
  125
+
  126
+  Within each release directory further symlinks exist to each shared directory, typically these
  127
+  are temporary, log, pid and user-uploaded files, they can also be assets if using Rails 3.1+.
  128
+
  129
+%h2 Can I share directories between deployments?
  130
+
  131
+:markdown
  132
+  Built in to the default recipe that ships with Capistrano is a variable `:shared_children`, this
  133
+  variable is used automatically inside Capistrano during a standard deploy to create symlinks between
  134
+  directories in the deployment structure, by default this contains some standard Rails directories, you
  135
+  can [examine the implementation here][1].
  136
+
  137
+  This variable can be added to, replaced or emptied, it's not uncommon with Rails share additional
  138
+  directories between releases using the following line:
  139
+
  140
+      # config/deploy/production.rb
  141
+      set :shared_children, fetch(:shared_children) + ['public/system']
  142
+
  143
+  You can learn more about [`set`] and [`fetch`] in the API documentation.
  144
+
  145
+  [1]: https://github.com/capistrano/capistrano/blob/master/lib/capistrano/recipes/deploy.rb#L53
  146
+
  147
+%h2 Can I use `sudo`?
  148
+
  149
+:markdown
  150
+  Capistrano has helpers for using sudo. Using sudo for deployments can be something of an antipattern,
  151
+  with properly configured servers you shouldn't need it, but it's there if you absolutely do.
  152
+
  153
+%h2
  154
+  Should I write
  155
+  %i
  156
+    %u some utility
  157
+  on top of Capistrano?
  158
+
  159
+:markdown
  160
+  The short answer is *probably not*, Capistrano excels at performing remote commands for *deployment*.
  161
+
  162
+  While some people have often built tools for backing up databases, or synchronizing production/staging
  163
+  data using Capistrano, it's normally wiser to build such tasks in Rake.
  164
+
  165
+  When built using Rake, they can be better written as classes, shared between projects and maybe even
  166
+  released as Gems, when baked into Capistrano you are tying your deployment tool to your day to day
  167
+  working tools.
  168
+
  169
+%h2 My process hangs when started via Capistrano, but works otherwise.
  170
+
  171
+:markdown
  172
+  Please see the notes about how Capistrano uses SSH above. If this is still a problem it's possible
  173
+  that your configuration of the *pty* variable, combined with badly behaved daemon processes is to
  174
+  blame.
  175
+
  176
+  Please refer the author of the misbehaving daemon to [this article about the correct way to reliably
  177
+  daemonize a process.][1]
  178
+
  179
+  The short version of this is that when programs as asked to daemonize they may remain connected (if
  180
+  badly written) to the *stdin* and *stdout* that Capistrano created when connecting to the server;
  181
+  these programs hang when those streams go away (when Capistrano disconnects). The solution is to
  182
+  wrap the command in `nohup` or background the process using shell tricks; but really the author of
  183
+  the program should be responsible for repairing it.
  184
+
  185
+  It may also be more viable workaround to use something such as [Upstart], [Bluepill], [Monit],
  186
+  [System V Init],
  187
+  or any other countless tools to start your processes, rather than starting daemons during deployment.
  188
+
  189
+  By using one of these tools you can easily configure self-healing daemon processes which restart after
  190
+  uenxpected failure without human intervention.
  191
+
  192
+  Tools such as [Monit] can also be configured to restart daemons when configuration files change.
  193
+  Capistrano creates a `RELEASE` file in the `:depoy_to` directory on every successful deployment which
  194
+  can be used to trigger graceful restarts of application services on every deploy, without resorting to
  195
+  using *sudo*.
  196
+
  197
+  [1]: http://www.itp.uzh.ch/~dpotter/howto/daemonize
  198
+  [Bluepill]:      https://github.com/arya/bluepill
  199
+  [Monit]:         http://mmonit.com/monit/
  200
+  [Upstart]:       http://upstart.ubuntu.com/
  201
+  [System V Init]: http://en.wikipedia.org/wiki/Init
50  source/index.html.haml
... ...
@@ -0,0 +1,50 @@
  1
+- content_for :head do
  2
+  %title Capistrano
  3
+
  4
+%p
  5
+  %i Capistrano
  6
+  is a Ruby tool for deploying software to one or more remote servers.
  7
+%p It is designed for deploying web applications directly from source control repositories.
  8
+
  9
+%h3 Getting Started
  10
+
  11
+%p
  12
+  Capistrano, is at it's heart a simple tool, masking some complicated relationships between threads
  13
+  and SSH sessions, to help you perform smooth, repeatable deploys, every time.
  14
+
  15
+%ul
  16
+  %li= link_to "FAQ", 'faq.html'
  17
+  %li= link_to "Setting Up"
  18
+  %li= link_to "Getting Started"
  19
+  %li= link_to "Multiple Stages"
  20
+  %li= link_to "Troubleshooting"
  21
+
  22
+%h3 Advanced Topics
  23
+
  24
+%ul
  25
+  %li= link_to "Deploying non-Rails Projects"
  26
+  %li= link_to "Dotfiles, Bundler & The Environment"
  27
+  %li= link_to "Self-hosted Source Control Repositories"
  28
+
  29
+%h3 Get Help
  30
+
  31
+%p
  32
+  There's a lot of knowledge stored in questions at Stack Overflow about Capistrano, asking there after
  33
+  reading the archives will help a lot; if that doesn't work out you can use the mailing list linked
  34
+  below:
  35
+
  36
+  If you believe you've found a serious issue with Capistrano please report it on the issue tracker.
  37
+
  38
+  We [make features work hard to be imlpemented][1], and we prefer if you [don't push your pull requests][2];
  39
+  but we welcome all community contributions.
  40
+
  41
+  If you found a mistake in this documentation, or would like to make an addion; you can [fork any improve it
  42
+  via Github][3].
  43
+
  44
+  [1]: http://gettingreal.37signals.com/ch05_Start_With_No.php
  45
+  [2]: http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/
  46
+  [3]: htts://github.com/capistrano/capistranorb.com/
  47
+
  48
+%ul
  49
+  %li= link_to "StackOverflow Posts Tagged <i>Capistrano</i>.", "http://stackoverflow.com/tags/capistrano"
  50
+  %li= link_to "Google Groups Mailing List."
19  source/layout.haml
... ...
@@ -0,0 +1,19 @@
  1
+!!!
  2
+%html
  3
+  %head
  4
+    %meta{:charset => "utf-8"}
  5
+      / Always force latest IE rendering engine (even in intranet) & Chrome Frame
  6
+      %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
  7
+        = stylesheet_link_tag "site.css"
  8
+        = yield_content :head
  9
+  %body{:class => page_classes}
  10
+    .container
  11
+      .row-fluid
  12
+        .span3
  13
+        .span9
  14
+          #main{:role => "main"}
  15
+            .hero-unit
  16
+              %h1
  17
+                %i= link_to "Capistrano", "/"
  18
+              %h2 A Software Deployment Tool
  19
+            = yield
800  source/stylesheets/_bootstrap.scss
... ...
@@ -0,0 +1,800 @@
  1
+@import url(http://fonts.googleapis.com/css?family=Fanwood+Text);
  2
+article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
  3
+audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
  4
+audio:not([controls]){display:none;}
  5
+html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
  6
+a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
  7
+a:hover,a:active{outline:0;}
  8
+sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
  9
+sup{top:-0.5em;}
  10
+sub{bottom:-0.25em;}
  11
+img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}
  12
+button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
  13
+button,input{*overflow:visible;line-height:normal;}
  14
+button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
  15
+button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
  16
+input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield;}
  17
+input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
  18
+textarea{overflow:auto;vertical-align:top;}
  19
+.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";}
  20
+.clearfix:after{clear:both;}
  21
+.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;}
  22
+.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
  23
+body{margin:0;font-family:Georgia,"Times New Roman",Times,serif;font-size:17px;line-height:1.3em;color:#090000;background-color:#fdfdfa;}
  24
+a{color:#9c0001;text-decoration:none;}
  25
+a:hover{color:#c50001;text-decoration:underline;}
  26
+.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";}
  27
+.row:after{clear:both;}
  28
+[class*="span"]{float:left;margin-left:20px;}
  29
+.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;}
  30
+.span12{width:940px;}
  31
+.span11{width:860px;}
  32
+.span10{width:780px;}
  33
+.span9{width:700px;}
  34
+.span8{width:620px;}
  35
+.span7{width:540px;}
  36
+.span6{width:460px;}
  37
+.span5{width:380px;}
  38
+.span4{width:300px;}
  39
+.span3{width:220px;}
  40
+.span2{width:140px;}
  41
+.span1{width:60px;}
  42
+.offset12{margin-left:980px;}
  43
+.offset11{margin-left:900px;}
  44
+.offset10{margin-left:820px;}
  45
+.offset9{margin-left:740px;}
  46
+.offset8{margin-left:660px;}
  47
+.offset7{margin-left:580px;}
  48
+.offset6{margin-left:500px;}
  49
+.offset5{margin-left:420px;}
  50
+.offset4{margin-left:340px;}
  51
+.offset3{margin-left:260px;}
  52
+.offset2{margin-left:180px;}
  53
+.offset1{margin-left:100px;}
  54
+.row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";}
  55
+.row-fluid:after{clear:both;}
  56
+.row-fluid [class*="span"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574%;*margin-left:2.0744680846382977%;}
  57
+.row-fluid [class*="span"]:first-child{margin-left:0;}
  58
+.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%;}
  59
+.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%;}
  60
+.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%;}
  61
+.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%;}
  62
+.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%;}
  63
+.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%;}
  64
+.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%;}
  65
+.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%;}
  66
+.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%;}
  67
+.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%;}
  68
+.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%;}
  69
+.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%;}
  70
+.container{margin-right:auto;margin-left:auto;*zoom:1;}.container:before,.container:after{display:table;content:"";}
  71
+.container:after{clear:both;}
  72
+.container-fluid{padding-right:20px;padding-left:20px;*zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";}
  73
+.container-fluid:after{clear:both;}
  74
+p{margin:0 0 0.65em;font-family:Georgia,"Times New Roman",Times,serif;font-size:17px;line-height:1.3em;}p small{font-size:15px;color:#999999;}
  75
+.lead{margin-bottom:1.3em;font-size:20px;font-weight:200;line-height:1.9500000000000002em;}
  76
+h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999;}
  77
+h1{font-size:30px;line-height:2.6em;}h1 small{font-size:18px;}
  78
+h2{font-size:24px;line-height:2.6em;}h2 small{font-size:18px;}
  79
+h3{font-size:18px;line-height:1.9500000000000002em;}h3 small{font-size:14px;}
  80
+h4,h5,h6{line-height:1.3em;}
  81
+h4{font-size:14px;}h4 small{font-size:12px;}
  82
+h5{font-size:12px;}
  83
+h6{font-size:11px;color:#999999;text-transform:uppercase;}
  84
+.page-header{padding-bottom:0.30000000000000004em;margin:1.3em 0;border-bottom:1px solid #cdcdcd;}
  85
+.page-header h1{line-height:1;}
  86
+ul,ol{padding:0;margin:0 0 0.65em 25px;}
  87
+ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
  88
+ul{list-style:disc;}
  89
+ol{list-style:decimal;}
  90
+li{line-height:1.3em;}
  91
+ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}
  92
+dl{margin-bottom:1.3em;}
  93
+dt,dd{line-height:1.3em;}
  94
+dt{font-weight:bold;line-height:0.30000000000000004em;}
  95
+dd{margin-left:0.65em;}
  96
+.dl-horizontal dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  97
+.dl-horizontal dd{margin-left:130px;}
  98
+hr{margin:1.3em 0;border:0;border-top:1px solid #cdcdcd;border-bottom:1px solid #ffffff;}
  99
+strong{font-weight:bold;}
  100
+em{font-style:italic;}
  101
+.muted{color:#999999;}
  102
+abbr[title]{cursor:help;border-bottom:1px dotted #ddd;}
  103
+abbr.initialism{font-size:90%;text-transform:uppercase;}
  104
+blockquote{padding:0 0 0 15px;margin:0 0 1.3em;border-left:5px solid #cdcdcd;}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:1.625em;}
  105
+blockquote small{display:block;line-height:1.3em;color:#999999;}blockquote small:before{content:'\2014 \00A0';}
  106
+blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #cdcdcd;border-left:0;}blockquote.pull-right p,blockquote.pull-right small{text-align:right;}
  107
+q:before,q:after,blockquote:before,blockquote:after{content:"";}
  108
+address{display:block;margin-bottom:1.3em;font-style:normal;line-height:1.3em;}
  109
+small{font-size:100%;}
  110
+cite{font-style:normal;}
  111
+code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:16px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
  112
+code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;}
  113
+pre{display:block;padding:0.15000000000000002em;margin:0 0 0.65em;font-size:15.725000000000001px;line-height:1.3em;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}pre.prettyprint{margin-bottom:1.3em;}
  114
+pre code{padding:0;color:inherit;background-color:transparent;border:0;}
  115
+.pre-scrollable{max-height:340px;overflow-y:scroll;}
  116
+form{margin:0 0 1.3em;}
  117
+fieldset{padding:0;margin:0;border:0;}
  118
+legend{display:block;width:100%;padding:0;margin-bottom:1.9500000000000002em;font-size:25.5px;line-height:2.6em;color:#333333;border:0;border-bottom:1px solid #eee;}legend small{font-size:0.9750000000000001em;color:#999999;}
  119
+label,input,button,select,textarea{font-size:17px;font-weight:normal;line-height:1.3em;}
  120
+input,button,select,textarea{font-family:Georgia,"Times New Roman",Times,serif;}
  121
+label{display:block;margin-bottom:5px;color:#333333;}
  122
+input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:1.3em;padding:4px;margin-bottom:9px;font-size:17px;line-height:1.3em;color:#777777;background-color:#ffffff;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
  123
+.uneditable-textarea{width:auto;height:auto;}
  124
+label input,label textarea,label select{display:block;}
  125
+input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;background-color:transparent;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
  126
+input[type="image"]{border:0;}
  127
+input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:#ffffff;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
  128
+input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;}
  129
+select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px;}
  130
+input[type="file"]{line-height:18px \9;}
  131
+select{width:220px;background-color:#ffffff;}
  132
+select[multiple],select[size]{height:auto;}
  133
+input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
  134
+textarea{height:auto;}
  135
+input[type="hidden"]{display:none;}
  136
+.radio,.checkbox{min-height:18px;padding-left:18px;}
  137
+.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px;}
  138
+.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px;}
  139
+.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle;}
  140
+.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;}
  141
+input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;}
  142
+input:focus,textarea:focus{border-color:rgba(82, 168, 236, 0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);}
  143
+input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
  144
+.input-mini{width:60px;}
  145
+.input-small{width:90px;}
  146
+.input-medium{width:150px;}
  147
+.input-large{width:210px;}
  148
+.input-xlarge{width:270px;}
  149
+.input-xxlarge{width:530px;}
  150
+input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0;}
  151
+input,textarea,.uneditable-input{margin-left:0;}
  152
+input.span12, textarea.span12, .uneditable-input.span12{width:930px;}
  153
+input.span11, textarea.span11, .uneditable-input.span11{width:850px;}
  154
+input.span10, textarea.span10, .uneditable-input.span10{width:770px;}
  155
+input.span9, textarea.span9, .uneditable-input.span9{width:690px;}
  156
+input.span8, textarea.span8, .uneditable-input.span8{width:610px;}
  157
+input.span7, textarea.span7, .uneditable-input.span7{width:530px;}
  158
+input.span6, textarea.span6, .uneditable-input.span6{width:450px;}
  159
+input.span5, textarea.span5, .uneditable-input.span5{width:370px;}
  160
+input.span4, textarea.span4, .uneditable-input.span4{width:290px;}
  161
+input.span3, textarea.span3, .uneditable-input.span3{width:210px;}
  162
+input.span2, textarea.span2, .uneditable-input.span2{width:130px;}
  163
+input.span1, textarea.span1, .uneditable-input.span1{width:50px;}
  164
+input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#cdcdcd;border-color:#ddd;}
  165
+input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent;}
  166
+.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853;}
  167
+.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853;}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e;}
  168
+.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853;}
  169
+.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48;}
  170
+.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48;}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:0 0 6px #d59392;-moz-box-shadow:0 0 6px #d59392;box-shadow:0 0 6px #d59392;}
  171
+.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48;}
  172
+.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847;}
  173
+.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847;}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b;}
  174
+.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847;}
  175
+input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b;}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;}
  176
+.form-actions{padding:0.30000000000000004em 20px 1.3em;margin-top:1.3em;margin-bottom:1.3em;background-color:transparent;border-top:1px solid #ddd;*zoom:1;}.form-actions:before,.form-actions:after{display:table;content:"";}
  177
+.form-actions:after{clear:both;}
  178
+.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);}
  179
+:-moz-placeholder{color:#999999;}
  180
+::-webkit-input-placeholder{color:#999999;}
  181
+.help-block,.help-inline{color:#777777;}
  182
+.help-block{display:block;margin-bottom:0.65em;}
  183
+.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px;}
  184
+.input-prepend,.input-append{margin-bottom:5px;}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2;}
  185
+.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc;}
  186
+.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:1.3em;min-width:16px;padding:4px 5px;font-weight:normal;line-height:1.3em;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#cdcdcd;border:1px solid #ccc;}
  187
+.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
  188
+.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546;}
  189
+.input-prepend .add-on,.input-prepend .btn{margin-right:-1px;}
  190
+.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
  191
+.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
  192
+.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee;}
  193
+.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
  194
+.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
  195
+.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
  196
+.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
  197
+.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;}
  198
+.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0;}
  199
+.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none;}
  200
+.form-search label,.form-inline label{display:inline-block;}
  201
+.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0;}
  202
+.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle;}
  203
+.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0;}
  204
+.control-group{margin-bottom:0.65em;}
  205
+legend+.control-group{margin-top:1.3em;-webkit-margin-top-collapse:separate;}
  206
+.form-horizontal .control-group{margin-bottom:1.3em;*zoom:1;}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";}
  207
+.form-horizontal .control-group:after{clear:both;}
  208
+.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right;}
  209
+.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0;}.form-horizontal .controls:first-child{*padding-left:160px;}
  210
+.form-horizontal .help-block{margin-top:0.65em;margin-bottom:0;}
  211
+.form-horizontal .form-actions{padding-left:160px;}
  212
+table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;}
  213
+.table{width:100%;margin-bottom:1.3em;}.table th,.table td{padding:8px;line-height:1.3em;text-align:left;vertical-align:top;border-top:1px solid #dddddd;}
  214
+.table th{font-weight:bold;}
  215
+.table thead th{vertical-align:bottom;}
  216
+.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0;}
  217
+.table tbody+tbody{border-top:2px solid #dddddd;}
  218
+.table-condensed th,.table-condensed td{padding:4px 5px;}
  219
+.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd;}
  220
+.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;}
  221
+.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px;}
  222
+.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px;}
  223
+.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;}
  224
+.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;}
  225
+.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#fafaf3;}
  226
+.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f7f7eb;}
  227
+table .span1{float:none;width:44px;margin-left:0;}
  228
+table .span2{float:none;width:124px;margin-left:0;}
  229
+table .span3{float:none;width:204px;margin-left:0;}
  230
+table .span4{float:none;width:284px;margin-left:0;}
  231
+table .span5{float:none;width:364px;margin-left:0;}
  232
+table .span6{float:none;width:444px;margin-left:0;}
  233
+table .span7{float:none;width:524px;margin-left:0;}
  234
+table .span8{float:none;width:604px;margin-left:0;}
  235
+table .span9{float:none;width:684px;margin-left:0;}
  236
+table .span10{float:none;width:764px;margin-left:0;}
  237
+table .span11{float:none;width:844px;margin-left:0;}
  238
+table .span12{float:none;width:924px;margin-left:0;}
  239
+table .span13{float:none;width:1004px;margin-left:0;}
  240
+table .span14{float:none;width:1084px;margin-left:0;}
  241
+table .span15{float:none;width:1164px;margin-left:0;}
  242
+table .span16{float:none;width:1244px;margin-left:0;}
  243
+table .span17{float:none;width:1324px;margin-left:0;}
  244
+table .span18{float:none;width:1404px;margin-left:0;}
  245
+table .span19{float:none;width:1484px;margin-left:0;}
  246
+table .span20{float:none;width:1564px;margin-left:0;}
  247
+table .span21{float:none;width:1644px;margin-left:0;}
  248
+table .span22{float:none;width:1724px;margin-left:0;}
  249
+table .span23{float:none;width:1804px;margin-left:0;}
  250
+table .span24{float:none;width:1884px;margin-left:0;}
  251
+[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;}[class^="icon-"]:last-child,[class*=" icon-"]:last-child{*margin-left:0;}
  252
+.icon-white{background-image:url("../img/glyphicons-halflings-white.png");}
  253
+.icon-glass{background-position:0 0;}
  254
+.icon-music{background-position:-24px 0;}
  255
+.icon-search{background-position:-48px 0;}
  256
+.icon-envelope{background-position:-72px 0;}
  257
+.icon-heart{background-position:-96px 0;}
  258
+.icon-star{background-position:-120px 0;}
  259
+.icon-star-empty{background-position:-144px 0;}
  260
+.icon-user{background-position:-168px 0;}
  261
+.icon-film{background-position:-192px 0;}
  262
+.icon-th-large{background-position:-216px 0;}
  263
+.icon-th{background-position:-240px 0;}
  264
+.icon-th-list{background-position:-264px 0;}
  265
+.icon-ok{background-position:-288px 0;}
  266
+.icon-remove{background-position:-312px 0;}
  267
+.icon-zoom-in{background-position:-336px 0;}
  268
+.icon-zoom-out{background-position:-360px 0;}
  269
+.icon-off{background-position:-384px 0;}
  270
+.icon-signal{background-position:-408px 0;}
  271
+.icon-cog{background-position:-432px 0;}
  272
+.icon-trash{background-position:-456px 0;}
  273
+.icon-home{background-position:0 -24px;}
  274
+.icon-file{background-position:-24px -24px;}
  275
+.icon-time{background-position:-48px -24px;}
  276
+.icon-road{background-position:-72px -24px;}
  277
+.icon-download-alt{background-position:-96px -24px;}
  278
+.icon-download{background-position:-120px -24px;}
  279
+.icon-upload{background-position:-144px -24px;}
  280
+.icon-inbox{background-position:-168px -24px;}
  281
+.icon-play-circle{background-position:-192px -24px;}
  282
+.icon-repeat{background-position:-216px -24px;}
  283
+.icon-refresh{background-position:-240px -24px;}
  284
+.icon-list-alt{background-position:-264px -24px;}
  285
+.icon-lock{background-position:-287px -24px;}
  286
+.icon-flag{background-position:-312px -24px;}
  287
+.icon-headphones{background-position:-336px -24px;}
  288
+.icon-volume-off{background-position:-360px -24px;}
  289
+.icon-volume-down{background-position:-384px -24px;}
  290
+.icon-volume-up{background-position:-408px -24px;}
  291
+.icon-qrcode{background-position:-432px -24px;}
  292
+.icon-barcode{background-position:-456px -24px;}
  293
+.icon-tag{background-position:0 -48px;}
  294
+.icon-tags{background-position:-25px -48px;}
  295
+.icon-book{background-position:-48px -48px;}
  296
+.icon-bookmark{background-position:-72px -48px;}
  297
+.icon-print{background-position:-96px -48px;}
  298
+.icon-camera{background-position:-120px -48px;}
  299
+.icon-font{background-position:-144px -48px;}
  300
+.icon-bold{background-position:-167px -48px;}
  301
+.icon-italic{background-position:-192px -48px;}
  302
+.icon-text-height{background-position:-216px -48px;}
  303
+.icon-text-width{background-position:-240px -48px;}
  304
+.icon-align-left{background-position:-264px -48px;}
  305
+.icon-align-center{background-position:-288px -48px;}
  306
+.icon-align-right{background-position:-312px -48px;}
  307
+.icon-align-justify{background-position:-336px -48px;}
  308
+.icon-list{background-position:-360px -48px;}
  309
+.icon-indent-left{background-position:-384px -48px;}
  310
+.icon-indent-right{background-position:-408px -48px;}
  311
+.icon-facetime-video{background-position:-432px -48px;}
  312
+.icon-picture{background-position:-456px -48px;}
  313
+.icon-pencil{background-position:0 -72px;}
  314
+.icon-map-marker{background-position:-24px -72px;}
  315
+.icon-adjust{background-position:-48px -72px;}
  316
+.icon-tint{background-position:-72px -72px;}
  317
+.icon-edit{background-position:-96px -72px;}
  318
+.icon-share{background-position:-120px -72px;}
  319
+.icon-check{background-position:-144px -72px;}
  320
+.icon-move{background-position:-168px -72px;}
  321
+.icon-step-backward{background-position:-192px -72px;}
  322
+.icon-fast-backward{background-position:-216px -72px;}
  323
+.icon-backward{background-position:-240px -72px;}
  324
+.icon-play{background-position:-264px -72px;}
  325
+.icon-pause{background-position:-288px -72px;}
  326
+.icon-stop{background-position:-312px -72px;}
  327
+.icon-forward{background-position:-336px -72px;}
  328
+.icon-fast-forward{background-position:-360px -72px;}
  329
+.icon-step-forward{background-position:-384px -72px;}
  330
+.icon-eject{background-position:-408px -72px;}
  331
+.icon-chevron-left{background-position:-432px -72px;}
  332
+.icon-chevron-right{background-position:-456px -72px;}
  333
+.icon-plus-sign{background-position:0 -96px;}
  334
+.icon-minus-sign{background-position:-24px -96px;}
  335
+.icon-remove-sign{background-position:-48px -96px;}
  336
+.icon-ok-sign{background-position:-72px -96px;}
  337
+.icon-question-sign{background-position:-96px -96px;}
  338
+.icon-info-sign{background-position:-120px -96px;}
  339
+.icon-screenshot{background-position:-144px -96px;}
  340
+.icon-remove-circle{background-position:-168px -96px;}
  341
+.icon-ok-circle{background-position:-192px -96px;}
  342
+.icon-ban-circle{background-position:-216px -96px;}
  343
+.icon-arrow-left{background-position:-240px -96px;}
  344
+.icon-arrow-right{background-position:-264px -96px;}
  345
+.icon-arrow-up{background-position:-289px -96px;}
  346
+.icon-arrow-down{background-position:-312px -96px;}
  347
+.icon-share-alt{background-position:-336px -96px;}
  348
+.icon-resize-full{background-position:-360px -96px;}
  349
+.icon-resize-small{background-position:-384px -96px;}
  350
+.icon-plus{background-position:-408px -96px;}
  351
+.icon-minus{background-position:-433px -96px;}
  352
+.icon-asterisk{background-position:-456px -96px;}
  353
+.icon-exclamation-sign{background-position:0 -120px;}
  354
+.icon-gift{background-position:-24px -120px;}
  355
+.icon-leaf{background-position:-48px -120px;}
  356
+.icon-fire{background-position:-72px -120px;}
  357
+.icon-eye-open{background-position:-96px -120px;}
  358
+.icon-eye-close{background-position:-120px -120px;}
  359
+.icon-warning-sign{background-position:-144px -120px;}
  360
+.icon-plane{background-position:-168px -120px;}
  361
+.icon-calendar{background-position:-192px -120px;}
  362
+.icon-random{background-position:-216px -120px;}
  363
+.icon-comment{background-position:-240px -120px;}
  364
+.icon-magnet{background-position:-264px -120px;}
  365
+.icon-chevron-up{background-position:-288px -120px;}
  366
+.icon-chevron-down{background-position:-313px -119px;}
  367
+.icon-retweet{background-position:-336px -120px;}
  368
+.icon-shopping-cart{background-position:-360px -120px;}
  369
+.icon-folder-close{background-position:-384px -120px;}
  370
+.icon-folder-open{background-position:-408px -120px;}
  371
+.icon-resize-vertical{background-position:-432px -119px;}
  372
+.icon-resize-horizontal{background-position:-456px -118px;}
  373
+.icon-hdd{background-position:0 -144px;}
  374
+.icon-bullhorn{background-position:-24px -144px;}
  375
+.icon-bell{background-position:-48px -144px;}
  376
+.icon-certificate{background-position:-72px -144px;}
  377
+.icon-thumbs-up{background-position:-96px -144px;}
  378
+.icon-thumbs-down{background-position:-120px -144px;}
  379
+.icon-hand-right{background-position:-144px -144px;}
  380
+.icon-hand-left{background-position:-168px -144px;}
  381
+.icon-hand-up{background-position:-192px -144px;}
  382
+.icon-hand-down{background-position:-216px -144px;}
  383
+.icon-circle-arrow-right{background-position:-240px -144px;}
  384
+.icon-circle-arrow-left{background-position:-264px -144px;}
  385
+.icon-circle-arrow-up{background-position:-288px -144px;}
  386
+.icon-circle-arrow-down{background-position:-312px -144px;}
  387
+.icon-globe{background-position:-336px -144px;}
  388
+.icon-wrench{background-position:-360px -144px;}
  389
+.icon-tasks{background-position:-384px -144px;}
  390
+.icon-filter{background-position:-408px -144px;}
  391
+.icon-briefcase{background-position:-432px -144px;}
  392
+.icon-fullscreen{background-position:-456px -144px;}
  393
+.dropup,.dropdown{position:relative;}
  394
+.dropdown-toggle{*margin-bottom:-3px;}
  395
+.dropdown-toggle:active,.open .dropdown-toggle{outline:0;}
  396
+.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:0.3;filter:alpha(opacity=30);}
  397
+.dropdown .caret{margin-top:8px;margin-left:2px;}
  398
+.dropdown:hover .caret,.open .caret{opacity:1;filter:alpha(opacity=100);}
  399
+.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:4px 0;margin:1px 0 0;list-style:none;background-color:#ffffff;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;}.dropdown-menu.pull-right{right:0;left:auto;}
  400
+.dropdown-menu .divider{*width:100%;height:1px;margin:-0.35em 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;}
  401
+.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:1.3em;color:#9c0001;white-space:nowrap;}
  402
+.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#c50001;text-decoration:none;background-color:transparent;}
  403
+.open{*z-index:1000;}.open .dropdown-menu{display:block;}
  404
+.pull-right .dropdown-menu{right:0;left:auto;}
  405
+.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191";}
  406
+.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px;}
  407
+.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
  408
+.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15);}
  409
+.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
  410
+.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
  411
+.fade{opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear;}.fade.in{opacity:1;filter:alpha(opacity=100);}
  412
+.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease;}.collapse.in{height:auto;}
  413
+.close{float:right;font-size:20px;font-weight:bold;line-height:1.3em;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.close:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40);}
  414
+button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;}
  415
+.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:17px;line-height:1.3em;*line-height:20px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-ms-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(top, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#e6e6e6;*background-color:#d9d9d9;}
  416
+.btn:active,.btn.active{background-color:#cccccc \9;}
  417
+.btn:first-child{*margin-left:0;}
  418
+.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear;}
  419
+.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
  420
+.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);}
  421
+.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
  422
+.btn-large{padding:9px 14px;font-size:19px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
  423
+.btn-large [class^="icon-"]{margin-top:1px;}
  424
+.btn-small{padding:5px 9px;font-size:15px;line-height:-0.7em;}
  425
+.btn-small [class^="icon-"]{margin-top:-1px;}
  426
+.btn-mini{padding:2px 6px;font-size:15px;line-height:-2.7em;}
  427
+.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}
  428
+.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255, 255, 255, 0.75);}
  429
+.btn{border-color:#ccc;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
  430
+.btn-primary{background-color:#9c0f01;background-image:-moz-linear-gradient(top, #9c0001, #9c2600);background-image:-ms-linear-gradient(top, #9c0001, #9c2600);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#9c0001), to(#9c2600));background-image:-webkit-linear-gradient(top, #9c0001, #9c2600);background-image:-o-linear-gradient(top, #9c0001, #9c2600);background-image:linear-gradient(top, #9c0001, #9c2600);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9c0001', endColorstr='#9c2600', GradientType=0);border-color:#9c2600 #9c2600 #501300;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#9c2600;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#9c2600;*background-color:#832000;}
  431
+.btn-primary:active,.btn-primary.active{background-color:#691a00 \9;}
  432
+.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505;}
  433
+.btn-warning:active,.btn-warning.active{background-color:#c67605 \9;}
  434
+.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-ms-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(top, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a;}
  435
+.btn-danger:active,.btn-danger.active{background-color:#942a25 \9;}
  436
+.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-ms-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(top, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249;}
  437
+.btn-success:active,.btn-success.active{background-color:#408140 \9;}
  438
+.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-ms-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(top, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0;}
  439
+.btn-info:active,.btn-info.active{background-color:#24748c \9;}
  440
+.btn-inverse{background-color:#555555;background-image:-moz-linear-gradient(top, #777777, #222222);background-image:-ms-linear-gradient(top, #777777, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#777777), to(#222222));background-image:-webkit-linear-gradient(top, #777777, #222222);background-image:-o-linear-gradient(top, #777777, #222222);background-image:linear-gradient(top, #777777, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#777777', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;*background-color:#151515;}
  441
+.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9;}
  442
+button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px;}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0;}
  443
+button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px;}
  444
+button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px;}
  445
+button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px;}
  446
+.btn-group{position:relative;*zoom:1;*margin-left:.3em;}.btn-group:before,.btn-group:after{display:table;content:"";}
  447
+.btn-group:after{clear:both;}
  448
+.btn-group:first-child{*margin-left:0;}
  449
+.btn-group+.btn-group{margin-left:5px;}
  450
+.btn-toolbar{margin-top:0.65em;margin-bottom:0.65em;}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1;}
  451
+.btn-group>.btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
  452
+.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;}
  453
+.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;}
  454
+.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;}
  455
+.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;}
  456
+.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2;}
  457
+.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0;}
  458
+.btn-group>.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);*padding-top:4px;*padding-bottom:4px;}
  459
+.btn-group>.btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px;}
  460
+.btn-group>.btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px;}
  461
+.btn-group>.btn-large.dropdown-toggle{padding-left:12px;padding-right:12px;}
  462
+.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);}
  463
+.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6;}
  464
+.btn-group.open .btn-primary.dropdown-toggle{background-color:#9c2600;}
  465
+.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406;}
  466
+.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f;}
  467
+.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351;}
  468
+.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4;}
  469
+.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222222;}
  470
+.btn .caret{margin-top:7px;margin-left:0;}
  471
+.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100);}
  472
+.btn-mini .caret{margin-top:5px;}
  473
+.btn-small .caret{margin-top:6px;}
  474
+.btn-large .caret{margin-top:6px;border-left-width:5px;border-right-width:5px;border-top-width:5px;}
  475
+.dropup .btn-large .caret{border-bottom:5px solid #000000;border-top:0;}
  476
+.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75);}
  477
+.alert{padding:8px 35px 8px 14px;margin-bottom:1.3em;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853;}
  478
+.alert-heading{color:inherit;}
  479
+.alert .close{position:relative;top:-2px;right:-21px;line-height:18px;}
  480
+.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847;}
  481
+.alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48;}
  482
+.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad;}
  483
+.alert-block{padding-top:14px;padding-bottom:14px;}
  484
+.alert-block>p,.alert-block>ul{margin-bottom:0;}
  485
+.alert-block p+p{margin-top:5px;}
  486
+.nav{margin-left:0;margin-bottom:1.3em;list-style:none;}
  487
+.nav>li>a{display:block;}
  488
+.nav>li>a:hover{text-decoration:none;background-color:#cdcdcd;}
  489
+.nav>.pull-right{float:right;}
  490
+.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:1.3em;color:#999999;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);text-transform:uppercase;}
  491
+.nav li+.nav-header{margin-top:9px;}
  492
+.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0;}
  493
+.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}