/*!
 * Bootstrap v2.1.1
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 * 
 * 
 * Table of Contents:
 * ------------------
 * Reset via Normalize
 * Global styles
 * Images
 * Grid system
 * Typography
 * Code
 * Labels and badges
 * Tables
 * Forms
 * Buttons
 * Button groups
 * Navs
 * Navbar
 * Breadcrumbs
 * Pagination
 * Thumbnails
 * Alerts
 * 
 * Dropdowns
 * Button dropdowns
 * 
 * Miscellaneous
 * Helper classes
 * 
 */


/* ========================================================================
   Reset via Normalize
   ======================================================================== */

@import url('normalize.css'); 


/* ========================================================================
   Global styles
   ======================================================================== */

body {
    background-color: #ffffff;
    color: #333333;
    font-family: sans-serif;
    font-size: 15px;
    line-height: 24px;
}

a,
a:visited {
    color: #cc0000;
    text-decoration: none;
}

a:hover {
    color: #cc0000;
    text-decoration: underline;
}

img {
    height: auto; /* Scale the height according to the width, otherwise you get stretching */
    max-width: 100%; /* Sets a maxium relative to the parent */
    vertical-align: middle;
    width: auto\9; /* IE7-8 need help adjusting responsive images */
}

#map_canvas img {
    max-width: none;
}


/* ========================================================================
   Grid system
   ======================================================================== */

.row {
    margin-left: -24px;
    *zoom: 1;
}

.row:before,
.row:after {
    content: "";
    display: table;
    line-height: 0;
}

.row:after {
    clear: both;
}

.span1,
.span2,
.span3,
.span4,
.span5,
.span6,
.span7,
.span8,
.span9,
.span10,
.span11,
.span12 {
    float: left;
    margin-left: 24px;
    min-height: 1px;
}

.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
    width: 936px;
}

.span12 {
    width: 936px;
}

.span11 {
    width: 856px;
}

.span10 {
    width: 776px;
}

.span9 {
    width: 696px;
}

.span8 {
    width: 616px;
}

.span7 {
    width: 536px;
}

.span6 {
    width: 456px;
}

.span5 {
    width: 376px;
}

.span4 {
    width: 296px;
}

.span3 {
    width: 216px;
}

.span2 {
    width: 136px;
}

.span1 {
    width: 56px;
}

.offset12 {
    margin-left: 984px;
}

.offset11 {
    margin-left: 904px;
}

.offset10 {
    margin-left: 824px;
}

.offset9 {
    margin-left: 744px;
}

.offset8 {
    margin-left: 664px;
}

.offset7 {
    margin-left: 584px;
}

.offset6 {
    margin-left: 504px;
}

.offset5 {
    margin-left: 424px;
}

.offset4 {
    margin-left: 344px;
}

.offset3 {
    margin-left: 264px;
}

.offset2 {
    margin-left: 184px;
}

.offset1 {
    margin-left: 104px;
}

[class*="span"].hide {
    display: none;
}

[class*="span"].pull-right {
    float: right;
}

.container {
    margin-right: auto;
    margin-left: auto;
    *zoom: 1;
}

.container:before,
.container:after {
    content: "";
    display: table;
    line-height: 0;
}

.container:after {
    clear: both;
}


/* ========================================================================
   Typography
   ======================================================================== */

p {
    margin: 0 0 18px;
}

.lead {
    font-size: 18px;
    font-weight: 200;
    line-height: 27px;
    margin-bottom: 24px;
}

small {
    font-size: 80%;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

cite {
    font-style: normal;
}

.muted {
    color: #999999;
}

.text-warning {
    color: #c09853;
}

.text-error {
    color: #b94a48;
}

.text-info {
    color: #3a87ad;
}

.text-success {
    color: #468847;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    font-family: 'TexGyreAdventor', sans-serif;
    font-weight: bold;
    line-height: 1.5;
    margin: 1em 0 9px;
    text-rendering: optimizelegibility;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
    color: #999999;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
}

h1 {
    font-size: 36px;
    /*font-weight: normal;*/
    margin-top: 0;
    text-transform: uppercase;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
    line-height: 24px;
}

h5 {
    font-size: 15px;
    line-height: 24px;
    margin-top: 18px;
}

h6 {
    font-size: 12px;
    line-height: 24px;
    margin-top: 15px;
}

h1 small {
    font-size: 24px;
}

h2 small {
    font-size: 18px;
}

h3 small {
    font-size: 14px;
}

h4 small {
    font-size: 14px;
}

.page-header {
    border-bottom: 1px solid #eeeeee;
    margin: 24px 0 36px;
    padding-bottom: 12px;
}

.page-header h1 {
    margin-top: 0;
}

ul,
ol {
    margin: 0 0 18px 24px;
    padding: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin-bottom: 0;
}

li {
    line-height: 24px;
}

ul.unstyled,
ol.unstyled {
    list-style: none;
    margin-left: 0;
}

dl {
    margin: 0 0 18px;
}

dt,
dd {
    line-height: 24px;
}

dt {
    font-weight: bold;
    margin-top: 18px;
}

dl dt:first-child {
    margin-top: 0;
}

dd {
    margin-left: 0;
}

.dl-horizontal {
    *zoom: 1;
}

.dl-horizontal:before,
.dl-horizontal:after {
    content: "";
    display: table;
    line-height: 0;
}

.dl-horizontal:after {
    clear: both;
}

.dl-horizontal dt {
    clear: left;
    float: left;
    margin-top: 0;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 160px;
}

.dl-horizontal dd {
    margin-left: 180px;
}

hr {
    border: 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #ffffff;
    margin: 48px 0 36px;
}

abbr[title] {
    cursor: help;
}

abbr.initialism {
    font-size: 90%;
    text-transform: uppercase;
}

blockquote {
    border-left: 6px solid #eeeeee;
    margin: 0 0 24px;
    padding: 0 0 0 18px;
}

blockquote p {
    font-size: 18px;
    font-weight: 300;
    line-height: 27px;
    margin-bottom: 0;
}

blockquote small {
    color: #999999;
    display: block;
    line-height: 24px;
}

blockquote small:before {
    content: '\2014 \00A0';
}

blockquote.pull-right {
    border-right: 6px solid #eeeeee;
    border-left: 0;
    float: right;
    padding-right: 18px;
    padding-left: 0;
}

blockquote.pull-right p,
blockquote.pull-right small {
    text-align: right;
}

blockquote.pull-right small:before {
    content: '';
}

blockquote.pull-right small:after {
    content: '\00A0 \2014';
}

q:before,
q:after,
blockquote:before,
blockquote:after {
    content: "";
}

address {
    display: block;
    font-style: normal;
    line-height: 24px;
    margin-bottom: 24px;
}

.hero-unit {
    background-color: #eeeeee;
    margin-bottom: 30px;
    padding: 60px;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
}

.hero-unit h1 {
    color: inherit;
    font-size: 60px;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-unit p {
    color: inherit;
    font-size: 18px;
    font-weight: 200;
    line-height: 27px;
}


/* ========================================================================
   Code
   ======================================================================== */

code,
pre {
    color: #333333;
    font-family: monospace;
    font-size: 13px;
    padding: 0 3px 2px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

code {
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    color: #c00;
    padding: 2px 4px;
    white-space: nowrap;
}

pre {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: block;
    /* font-size: 14px; */
    line-height: 24px;
    margin: 0 0 24px;
    padding: 12px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

pre.prettyprint {
    margin-bottom: 24px;
}

pre code {
    background-color: transparent;
    border: 0;
    color: inherit;
    padding: 0;
}

.pre-scrollable {
    max-height: 340px;
    overflow-y: scroll;
}


/* ========================================================================
   Labels and badges
   ======================================================================== */

.label,
.badge {
    background-color: #999999;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    line-height: 18px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    vertical-align: baseline;
    white-space: nowrap;
}

.label {
    padding: 3px 4px 3px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

.badge {
    padding: 3px 7px 3px;
    -webkit-border-radius: 12px;
       -moz-border-radius: 12px;
            border-radius: 12px;
}

a.label:hover,
a.badge:hover {
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

.label-important,
.badge-important {
    background-color: #c00;
}

.label-important[href],
.badge-important[href] {
    background-color: #953b39;
}

.label-warning,
.badge-warning {
    background-color: #f89406;
}

.label-warning[href],
.badge-warning[href] {
    background-color: #c67605;
}

.label-success,
.badge-success {
    background-color: #468847;
}

.label-success[href],
.badge-success[href] {
    background-color: #356635;
}

.label-info,
.badge-info {
    background-color: #3a87ad;
}

.label-info[href],
.badge-info[href] {
    background-color: #2d6987;
}

.label-inverse,
.badge-inverse {
    background-color: #333333;
}

.label-inverse[href],
.badge-inverse[href] {
    background-color: #1a1a1a;
}

.btn .label,
.btn .badge {
    position: relative;
    top: -1px;
}

.btn-mini .label,
.btn-mini .badge {
    top: 0;
}

/* ========================================================================
   Tables
   ======================================================================== */

table {
    background: none;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0 24px;
    max-width: 100%;
}

table th,
table td,
table caption {
    line-height: 24px;
}

.table {
    width: 100%;
}

.table th,
.table td {
    background: none;
    border-bottom: 1px solid #ccc;
    color: #333;
    line-height: 24px !important;
    padding: 6px 12px;
    text-align: left;
    vertical-align: top;
}

.table th[align="center"],
.table td[align="center"] {
    text-align: center;
}

.table th {
    font-weight: bold;
}

.table thead th {
    vertical-align: bottom;
}

.table tbody + tbody {
    border-top: 2px solid #ccc;
}

.table tbody + thead tr:first-child th {
    padding-top: 27px;
}

.table-condensed th,
.table-condensed td {
    padding: 3px 6px;
}

.table-bordered {
    border: 1px solid #ccc;
    border-collapse: separate;
    *border-collapse: collapse;
    border-left: 0;
    border-bottom: 0;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

.table-bordered thead th {
    background: #eee;
}

.table-bordered th,
.table-bordered td {
    border-left: 1px solid #ccc;
    /*text-align: center;*/
}

.table-bordered tr th:first-child,
.table-bordered tr td:first-child {
    text-align: left;
}

.table-bordered tr td:first-child[scope="row"] {
    text-align: center;
}

.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;
}

.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;
        -moz-border-radius-topleft: 4px;
            border-top-left-radius: 4px;
}

.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;
        -moz-border-radius-topright: 4px;
            border-top-right-radius: 4px;
}

.table-bordered thead:last-child tr:last-child th:first-child,
.table-bordered tbody:last-child tr:last-child th:first-child,
.table-bordered tbody:last-child tr:last-child td:first-child,
.table-bordered tfoot: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;
        -moz-border-radius-bottomleft: 4px;
            border-bottom-left-radius: 4px;
}

.table-bordered thead:last-child tr:last-child th:last-child,
.table-bordered tbody:last-child tr:last-child td:last-child,
.table-bordered tfoot:last-child tr:last-child td:last-child {
    -webkit-border-bottom-right-radius: 4px;
        -moz-border-radius-bottomright: 4px;
            border-bottom-right-radius: 4px;
}

.table-bordered caption + thead tr:first-child th:first-child,
.table-bordered caption + tbody tr:first-child td:first-child,
.table-bordered colgroup + thead tr:first-child th:first-child,
.table-bordered colgroup + tbody tr:first-child td:first-child {
    -webkit-border-top-left-radius: 4px;
        -moz-border-radius-topleft: 4px;
            border-top-left-radius: 4px;
}

.table-bordered caption + thead tr:first-child th:last-child,
.table-bordered caption + tbody tr:first-child td:last-child,
.table-bordered colgroup + thead tr:first-child th:last-child,
.table-bordered colgroup + tbody tr:first-child td:last-child {
    -webkit-border-top-right-radius: 4px;
         -moz-border-radius-topleft: 4px;
            border-top-right-radius: 4px;
}

.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
    background-color: #f9f9f9;
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
    background-color: #f5f5f5;
}

table [class*=span] {
    display: table-cell;
    float: none;
    margin-left: 0;
}

.table .span1 {
    float: none;
    margin-left: 0;
    width: 40px;
}

.table .span2 {
    float: none;
    margin-left: 0;
    width: 120px;
}

.table .span3 {
    float: none;
    margin-left: 0;
    width: 200px;
}

.table .span4 {
    float: none;
    margin-left: 0;
    width: 280px;
}

.table .span5 {
    float: none;
    margin-left: 0;
    width: 360px;
}

.table .span6 {
    float: none;
    margin-left: 0;
    width: 440px;
}

.table .span7 {
    float: none;
    margin-left: 0;
    width: 520px;
}

.table .span8 {
    float: none;
    margin-left: 0;
    width: 600px;
}

.table .span9 {
    float: none;
    margin-left: 0;
    width: 680px;
}

.table .span10 {
    float: none;
    margin-left: 0;
    width: 760px;
}

.table .span11 {
    float: none;
    margin-left: 0;
    width: 840px;
}

.table .span12 {
    float: none;
    margin-left: 0;
    width: 920px;
}

.table .span13 {
    float: none;
    margin-left: 0;
    width: 1000px;
}

.table .span14 {
    float: none;
    margin-left: 0;
    width: 1080px;
}

.table .span15 {
    float: none;
    margin-left: 0;
    width: 1160px;
}

.table .span16 {
    float: none;
    margin-left: 0;
    width: 1240px;
}

.table .span17 {
    float: none;
    margin-left: 0;
    width: 1320px;
}

.table .span18 {
    float: none;
    margin-left: 0;
    width: 1400px;
}

.table .span19 {
    float: none;
    margin-left: 0;
    width: 1480px;
}

.table .span20 {
    float: none;
    margin-left: 0;
    width: 1560px;
}

.table .span21 {
    float: none;
    margin-left: 0;
    width: 1640px;
}

.table .span22 {
    float: none;
    margin-left: 0;
    width: 1720px;
}

.table .span23 {
    float: none;
    margin-left: 0;
    width: 1800px;
}

.table .span24 {
    float: none;
    margin-left: 0;
    width: 1880px;
}

.table tbody tr.success td {
    background-color: #dff0d8;
}

.table tbody tr.error td {
    background-color: #f2dede;
}

.table tbody tr.warning td {
    background-color: #fcf8e3;
}

.table tbody tr.info td {
    background-color: #d9edf7;
}

.table-hover tbody tr.success:hover td {
    background-color: #d0e9c6;
}

.table-hover tbody tr.error:hover td {
    background-color: #ebcccc;
}

.table-hover tbody tr.warning:hover td {
    background-color: #faf2cc;
}

.table-hover tbody tr.info:hover td {
    background-color: #c4e3f3;
}


/* ========================================================================
   Forms
   ======================================================================== */

html form {
    margin: 0 0 24px;
}

form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

form legend {
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    color: #333333;
    display: block;
    /*font-family: 'TexGyreAdventor', sans-serif;*/
    font-size: 21px;
    /*font-weight: bold;*/
    line-height: 48px;
    margin-bottom: 24px;
    padding: 0;
    width: 100%;
}

legend small {
    color: #999999;
    font-size: 18px;
}

form label,
form input,
form button,
form select,
form textarea {
    font-size: 15px;
    font-weight: normal;
    line-height: 24px;
}

form input,
form button,
form select,
form textarea {
    font-family: sans-serif;
    vertical-align: middle;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form select,
form textarea,
form input[type="text"],
form input[type="password"],
form input[type="datetime"],
form input[type="datetime-local"],
form input[type="date"],
form input[type="month"],
form input[type="time"],
form input[type="week"],
form input[type="number"],
form input[type="email"],
form input[type="url"],
form input[type="search"],
form input[type="tel"],
form input[type="color"],
form .uneditable-input {
    color: #555555;
    display: inline-block;
    font-size: 15px;
    height: 30px;
    line-height: 24px;
    margin-bottom: 9px;
    padding: 3px 6px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

form input,
form textarea,
form .uneditable-input {
    width: 206px;
}

form textarea {
    height: auto;
}

form textarea,
form input[type="text"],
form input[type="password"],
form input[type="datetime"],
form input[type="datetime-local"],
form input[type="date"],
form input[type="month"],
form input[type="time"],
form input[type="week"],
form input[type="number"],
form input[type="email"],
form input[type="url"],
form input[type="search"],
form input[type="tel"],
form input[type="color"],
form .uneditable-input {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-bottom-color: #bbb;
    -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 .2s, box-shadow linear .2s;
       -moz-transition: border linear .2s, box-shadow linear .2s;
         -o-transition: border linear .2s, box-shadow linear .2s;
            transition: border linear .2s, box-shadow linear .2s;
}

form textarea:focus,
form input[type="text"]:focus,
form input[type="password"]:focus,
form input[type="datetime"]:focus,
form input[type="datetime-local"]:focus,
form input[type="date"]:focus,
form input[type="month"]:focus,
form input[type="time"]:focus,
form input[type="week"]:focus,
form input[type="number"]:focus,
form input[type="email"]:focus,
form input[type="url"]:focus,
form input[type="search"]:focus,
form input[type="tel"]:focus,
form input[type="color"]:focus,
form .uneditable-input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted \9; /* IE6-9 */
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

form input[type="radio"],
form input[type="checkbox"] {
    cursor: pointer;
    line-height: normal;
    margin: 7px 0 0;
    margin-top: 1px \9; /* IE8-9 */
    *margin-top: 0; /* IE7 */
}

form input[type="file"],
form input[type="image"],
form input[type="submit"],
form input[type="reset"],
form input[type="button"],
form input[type="radio"],
form input[type="checkbox"] {
    width: auto;
}

form select,
form input[type="file"] {
    height: 30px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
    line-height: 30px;
    *margin-top: 4px; /* For IE7, add top margin to align select with labels */
}

form select {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    width: 220px;
}

form select[multiple],
form select[size] {
    height: auto;
}

form select:focus,
form input[type="file"]:focus,
form input[type="radio"]:focus,
form input[type="checkbox"]:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.uneditable-input,
.uneditable-textarea {
    background-color: #fcfcfc;
    border-color: #cccccc;
    color: #999999;
    cursor: not-allowed;
    -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);
}

.uneditable-input {
    overflow: hidden;
    white-space: nowrap;
}

.uneditable-textarea {
    height: auto;
    width: auto;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #999999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #999999;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999999;
}

.radio,
.checkbox {
    min-height: 18px;
    padding-left: 18px;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
    float: left;
    margin-left: -18px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
    padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
    display: inline-block;
    margin-bottom: 0;
    padding-top: 5px;
    vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
    margin-left: 10px;
}

.input-mini {
    width: 60px;
}

.input-small {
    width: 90px;
}

.input-medium {
    width: 150px;
}

.input-large {
    width: 210px;
}

.input-xlarge {
    width: 270px;
}

.input-xxlarge {
    width: 530px;
}

form input[class*="span"],
form select[class*="span"],
form textarea[class*="span"],
.uneditable-input[class*="span"] {
    float: none;
    margin-left: 0;
}

.input-append input[class*="span"],
.input-append .uneditable-input[class*="span"],
.input-prepend input[class*="span"],
.input-prepend .uneditable-input[class*="span"] {
    display: inline-block;
}

form input,
form textarea,
form .uneditable-input {
    margin-left: 0;
}

.controls-row [class*="span"] + [class*="span"] {
    margin-left: 24px;
}

input.span12, textarea.span12, .uneditable-input.span12 {
    width: 922px;
}

input.span11, textarea.span11, .uneditable-input.span11 {
    width: 842px;
}

input.span10, textarea.span10, .uneditable-input.span10 {
    width: 762px;
}

input.span9, textarea.span9, .uneditable-input.span9 {
    width: 682px;
}

input.span8, textarea.span8, .uneditable-input.span8 {
    width: 602px;
}

input.span7, textarea.span7, .uneditable-input.span7 {
    width: 522px;
}

input.span6, textarea.span6, .uneditable-input.span6 {
    width: 442px;
}

input.span5, textarea.span5, .uneditable-input.span5 {
    width: 362px;
}

input.span4, textarea.span4, .uneditable-input.span4 {
    width: 282px;
}

input.span3, textarea.span3, .uneditable-input.span3 {
    width: 202px;
}

input.span2, textarea.span2, .uneditable-input.span2 {
    width: 122px;
}

input.span1, textarea.span1, .uneditable-input.span1 {
    width: 42px;
}

.controls-row {
    *zoom: 1;
}

.controls-row:before,
.controls-row:after {
    content: "";
    display: table;
    line-height: 0;
}

.controls-row:after {
    clear: both;
}

.controls-row [class*="span"] {
    float: left;
}

form input[disabled],
form select[disabled],
form textarea[disabled],
form input[readonly],
form select[readonly],
form textarea[readonly] {
    background-color: #eeeeee;
    cursor: not-allowed;
}

form input[type="radio"][disabled],
form input[type="checkbox"][disabled],
form input[type="radio"][readonly],
form input[type="checkbox"][readonly] {
    background-color: transparent;
}

form .control-group.warning > label,
form .control-group.warning .help-block,
form .control-group.warning .help-inline {
    color: #c09853;
}

form .control-group.warning .checkbox,
form .control-group.warning .radio,
form .control-group.warning input,
form .control-group.warning select,
form .control-group.warning textarea {
    color: #c09853;
}

form .control-group.warning input,
form .control-group.warning select,
form .control-group.warning textarea {
    border-color: #c09853;
    -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);
}

form .control-group.warning input:focus,
form .control-group.warning select:focus,
form .control-group.warning textarea:focus {
    border-color: #a47e3c;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
}

form .control-group.warning .input-prepend .add-on,
form .control-group.warning .input-append .add-on {
    background-color: #fcf8e3;
    border-color: #c09853;
    color: #c09853;
}

form .control-group.error > label,
form .control-group.error .help-block,
form .control-group.error .help-inline,
form .span_error,
.span_error ~ label,
label ~ .span_error {
    color: #b94a48;
}

form .control-group.error .checkbox,
form .control-group.error .radio,
form .control-group.error input,
form .control-group.error select,
form .control-group.error textarea,
form input.input_error {
    color: #b94a48;
}

form .control-group.error input,
form .control-group.error select,
form .control-group.error textarea,
form input.input_error {
    border-color: #b94a48;
    -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);
}

form .control-group.error input:focus,
form .control-group.error select:focus,
form .control-group.error textarea:focus,
form input.input_error:focus {
    border-color: #953b39;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}

form .control-group.error .input-prepend .add-on,
form .control-group.error .input-append .add-on {
    background-color: #f2dede;
    border-color: #b94a48;
    color: #b94a48;
}

.control-group.success > label,
.control-group.success .help-block,
.control-group.success .help-inline {
    color: #468847;
}

.control-group.success .checkbox,
.control-group.success .radio,
.control-group.success input,
.control-group.success select,
.control-group.success textarea {
    color: #468847;
}

.control-group.success input,
.control-group.success select,
.control-group.success textarea {
    border-color: #468847;
    -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);
}

.control-group.success input:focus,
.control-group.success select:focus,
.control-group.success textarea:focus {
    border-color: #356635;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
}

.control-group.success .input-prepend .add-on,
.control-group.success .input-append .add-on {
    background-color: #dff0d8;
    border-color: #468847;
    color: #468847;
}

.control-group.info > label,
.control-group.info .help-block,
.control-group.info .help-inline {
    color: #3a87ad;
}

.control-group.info .checkbox,
.control-group.info .radio,
.control-group.info input,
.control-group.info select,
.control-group.info textarea {
    color: #3a87ad;
}

.control-group.info input,
.control-group.info select,
.control-group.info textarea {
    border-color: #3a87ad;
    -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);
}

.control-group.info input:focus,
.control-group.info select:focus,
.control-group.info textarea:focus {
    border-color: #2d6987;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
}

.control-group.info .input-prepend .add-on,
.control-group.info .input-append .add-on {
    background-color: #d9edf7;
    border-color: #3a87ad;
    color: #3a87ad;
}

form input:focus:required:invalid,
form textarea:focus:required:invalid,
form select:focus:required:invalid {
    border-color: #ee5f5b;
    color: #b94a48;
}

form input:focus:required:invalid:focus,
form textarea:focus:required:invalid:focus,
form 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;
}

.form-actions {
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 23px 20px 24px;
    *zoom: 1;
}

.form-actions:before,
.form-actions:after {
    content: "";
    display: table;
    line-height: 0;
}

.form-actions:after {
    clear: both;
}

.help-block,
.help-inline {
    color: #595959;
}

.help-block {
    display: block;
    margin-bottom: 12px;
}

.help-inline,
.span_error {
    display: inline-block;
    padding-left: 5px;
    vertical-align: middle;
    *display: inline; /* IE7 inline-block hack */
    *zoom: 1;
}

.input-append,
.input-prepend {
    font-size: 0;
    margin-bottom: 5px;
    white-space: nowrap;
}

.input-append input,
.input-prepend input,
.input-append select,
.input-prepend select,
.input-append .uneditable-input,
.input-prepend .uneditable-input {
    font-size: 15px;
    margin-bottom: 0;
    position: relative;
    vertical-align: top;
    -webkit-border-radius: 0 3px 3px 0;
       -moz-border-radius: 0 3px 3px 0;
            border-radius: 0 3px 3px 0;
    *margin-left: 0;
}

.input-append input:focus,
.input-prepend input:focus,
.input-append select:focus,
.input-prepend select:focus,
.input-append .uneditable-input:focus,
.input-prepend .uneditable-input:focus {
    z-index: 2;
}

.input-append .add-on,
.input-prepend .add-on {
    background-color: #eeeeee;
    border: 1px solid #ccc;
    border-bottom-color: #bbb;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 24px;
    line-height: 24px;
    min-width: 16px;
    padding: 2px 5px;
    text-align: center;
    text-shadow: 0 1px 0 #ffffff;
    width: auto;
}

.input-append .add-on,
.input-prepend .add-on,
.input-append .btn,
.input-prepend .btn {
    vertical-align: top;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.input-append .active,
.input-prepend .active {
    background-color: #a9dba9;
    border-color: #46a546;
}

.input-prepend .add-on,
.input-prepend .btn {
    margin-right: -1px;
}

.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;
}

.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;
}

.input-append .add-on,
.input-append .btn {
    margin-left: -1px;
}

.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;
}

.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;
}

.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;
}

.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;
}

input.search-query {

    margin-bottom: 0;
    padding-right: 14px;
    padding-right: 4px \9;
    padding-left: 14px;
    padding-left: 4px \9; /* IE7-8 doesn't have border-radius, so don't indent the padding */
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
            border-radius: 15px;
}

/* Allow for input prepend/append in search forms */
.form-search .input-append .search-query,
.form-search .input-prepend .search-query {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.form-search .input-append .search-query {
    -webkit-border-radius: 14px 0 0 14px;
       -moz-border-radius: 14px 0 0 14px;
            border-radius: 14px 0 0 14px;
}

.form-search .input-append .btn {
    -webkit-border-radius: 0 14px 14px 0;
       -moz-border-radius: 0 14px 14px 0;
            border-radius: 0 14px 14px 0;
}

.form-search .input-prepend .search-query {
    -webkit-border-radius: 0 14px 14px 0;
       -moz-border-radius: 0 14px 14px 0;
            border-radius: 0 14px 14px 0;
}

.form-search .input-prepend .btn {
    -webkit-border-radius: 14px 0 0 14px;
       -moz-border-radius: 14px 0 0 14px;
            border-radius: 14px 0 0 14px;
}

.form-inline > * {
    margin-right: 4px;
}

.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,
.span_error {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    *display: inline; /* IE7 inline-block hack */
    *zoom: 1;
}

.form-search .hide,
.form-inline .hide,
.form-horizontal .hide {
    display: none;
}

.form-search label,
.form-inline label,
.form-search .btn-group,
.form-inline .btn-group {
    display: inline-block;
}

.form-search .input-append,
.form-inline .input-append,
.form-search .input-prepend,
.form-inline .input-prepend {
    margin-bottom: 0;
}

.form-search .radio,
.form-search .checkbox,
.form-inline .radio,
.form-inline .checkbox {
    margin-bottom: 0;
    padding-left: 0;
    vertical-align: middle;
}

.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: 4px;
    margin-left: 0;
}

.control-group {
    margin-bottom: 12px;
}

legend + .control-group {
    margin-top: 24px;
    -webkit-margin-top-collapse: separate;
}

.form-horizontal .control-group {
    margin-bottom: 24px;
    *zoom: 1;
}

.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
    content: "";
    display: table;
    line-height: 0;
}

.form-horizontal .control-group:after {
    clear: both;
}

.form-horizontal .control-label {
    float: left;
    padding-top: 2px;
    text-align: right;
    width: 160px;
}

.form-horizontal .controls {
    margin-left: 180px;
    *display: inline-block;
    *padding-left: 20px;
    *margin-left: 0;
}

.form-horizontal .controls:first-child {
    *padding-left: 180px;
}

.form-horizontal .help-block {
    margin-bottom: 0;
}

.form-horizontal input + .help-block,
.form-horizontal select + .help-block,
.form-horizontal textarea + .help-block {
    margin-top: 12px;
}

.form-horizontal .form-actions {
    padding-left: 180px;
}


/* ========================================================================
   Buttons
   ======================================================================== */

.btn,
form input[type="submit"] {
    background-color: #f5f5f5;
    background-image: -moz-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(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    border-bottom-color: #bbb;
    color: #333333;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 0;
    padding: 2px 14px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
       -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *display: inline; /* IE7 inline-block hack */
    *zoom: 1;
    *line-height: 24px;
    *background-color: #e6e6e6; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
    *border: 0;
    *margin-left: .3em;
}

.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled],
form input[type="submit"]:hover,
form input[type="submit"]:active,
form input[type="submit"].active,
form input[type="submit"].disabled,
form input[type="submit"][disabled] {
    background-color: #e6e6e6;
    color: #333333;
    *background-color: #d9d9d9;
}

.btn:active,
.btn.active,
form input[type="submit"]:active,
form input[type="submit"].active {
    background-color: #cccccc \9;
}

.btn:first-child,
form input[type="submit"]:first-child {
    *margin-left: 0;
}

.btn:hover,
form input[type="submit"]:hover {
    background-color: #e6e6e6;

    background-position: 0 -15px;
    color: #333333;
    text-decoration: none;
    -webkit-transition: background-position 0.1s linear;
       -moz-transition: background-position 0.1s linear;
         -o-transition: background-position 0.1s linear;
            transition: background-position 0.1s linear;
    *background-color: #d9d9d9; /* Buttons in IE7 don't get borders, so darken on hover */
}

.btn:focus,
form input[type="submit"]:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn.active,
.btn:active,
form input[type="submit"].active,
form input[type="submit"]:active {
    background-color: #e6e6e6;
    background-color: #d9d9d9 \9;
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
       -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn.disabled,
.btn[disabled],
form input[type="submit"].disabled,
form input[type="submit"][disabled] {
    background-color: #e6e6e6;
    background-image: none;
    cursor: default;
    opacity: 0.65;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
    filter: alpha(opacity=65);
}

.btn-large {
    font-size: 17px;
    line-height: normal;
    padding: 9px 14px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.btn-large [class^="icon-"] {
    margin-top: 2px;
}

.btn-small {
    font-size: 13px;
    line-height: 18px;
    padding: 3px 9px;
}

.btn-small [class^="icon-"] {
    margin-top: 0;
}

.btn-mini {
    font-size: 12px;
    line-height: 18px;
    padding: 2px 6px;
}

.btn-block {
    display: block;
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.btn-block + .btn-block {
    margin-top: 5px;
}

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
    width: 100%;
}

.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);
}

.btn,
form input[type="submit"] {
    border-color: #c5c5c5;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background-color: #cc0000;
    background-image: -moz-linear-gradient(top, #cc0000, #ae010d);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cc0000), to(#ae010d));
    background-image: -webkit-linear-gradient(top, #cc0000, #ae010d);
    background-image: -o-linear-gradient(top, #cc0000, #ae010d);
    background-image: linear-gradient(to bottom, #cc0000, #ae010d);
    background-repeat: repeat-x;
    border-color: #ae010d #ae010d #802b00;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcc0000', endColorstr='#ffae010d', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #ae010d; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
    background-color: #ae010d;
    color: #ffffff;
    *background-color: #b33c00;
}

.btn-primary:active,
.btn-primary.active {
    background-color: #993300 \9;
}

.btn-warning {
    background-color: #faa732;
    background-image: -moz-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(to bottom, #fbb450, #f89406);
    background-repeat: repeat-x;
    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);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #f89406; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.btn-warning:hover,
.btn-warning:active,
.btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
    background-color: #f89406;
    color: #ffffff;
    *background-color: #df8505;
}

.btn-warning:active,
.btn-warning.active {
    background-color: #c67605 \9;
}

.btn-danger {
    background-color: #da4f49;
    background-image: -moz-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(to bottom, #ee5f5b, #bd362f);
    background-repeat: repeat-x;
    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);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #bd362f; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
    background-color: #bd362f;
    color: #ffffff;
    *background-color: #a9302a;
}

.btn-danger:active,
.btn-danger.active {
    background-color: #942a25 \9;
}

.btn-success {
    background-color: #5bb75b;
    background-image: -moz-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(to bottom, #62c462, #51a351);
    background-repeat: repeat-x;
    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);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #51a351; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
    background-color: #51a351;
    color: #ffffff;
    *background-color: #499249;
}

.btn-success:active,
.btn-success.active {
    background-color: #408140 \9;
}

.btn-info {
    background-color: #49afcd;
    background-image: -moz-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(to bottom, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    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);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #2f96b4; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.btn-info:hover,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
    background-color: #2f96b4;
    color: #ffffff;
    *background-color: #2a85a0;
}

.btn-info:active,
.btn-info.active {
    background-color: #24748c \9;
}

.btn-inverse {
    background-color: #363636;
    background-image: -moz-linear-gradient(top, #444444, #222222);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
    background-image: -webkit-linear-gradient(top, #444444, #222222);
    background-image: -o-linear-gradient(top, #444444, #222222);
    background-image: linear-gradient(to bottom, #444444, #222222);
    background-repeat: repeat-x;
    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);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #222222; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.btn-inverse:hover,
.btn-inverse:active,
.btn-inverse.active,
.btn-inverse.disabled,
.btn-inverse[disabled] {
    background-color: #222222;
    color: #ffffff;
    *background-color: #151515;
}

.btn-inverse:active,
.btn-inverse.active {
    background-color: #080808 \9;
}

button.btn,
input[type="submit"].btn,
form input[type="submit"] {
    *padding-top: 3px;
    *padding-bottom: 3px;
}

button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner,
form input[type="submit"]::-moz-focus-inner {
    border: 0;
    padding: 0;
}

button.btn.btn-large,
input[type="submit"].btn.btn-large {
    *padding-top: 7px;
    *padding-bottom: 7px;
}

button.btn.btn-small,
input[type="submit"].btn.btn-small {
    *padding-top: 3px;
    *padding-bottom: 3px;
}

button.btn.btn-mini,
input[type="submit"].btn.btn-mini {
    *padding-top: 1px;
    *padding-bottom: 1px;
}

.btn-link,
.btn-link:active,
.btn-link[disabled] {
    background-color: transparent !important;
    background-image: none !important;
    -webkit-box-shadow: none !important;
       -moz-box-shadow: none !important;
            box-shadow: none !important;
}

.btn-link {
    border-color: transparent !important;
    color: #cc0000 !important;
    cursor: pointer !important;
    -webkit-border-radius: 0 !important;
       -moz-border-radius: 0 !important;
            border-radius: 0 !important;
}

.btn-link:hover {
    background-color: transparent !important;
    color: #cc0000 !important;
    text-decoration: underline !important;
}

.btn-link[disabled]:hover {
    color: #333333 !important;
    text-decoration: none !important;
}


/* ========================================================================
   Button groups
   ======================================================================== */

.btn-group {
    font-size: 0;
    position: relative;
    vertical-align: middle;
    white-space: nowrap;
    *margin-left: .3em;
}

.btn-group:first-child {
    *margin-left: 0;
}

.btn-group + .btn-group {
    margin-left: 5px;
}

.btn-toolbar {
    font-size: 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

.btn-toolbar .btn-group {
    display: inline-block;
    *display: inline; /* IE7 inline-block hack */
    *zoom: 1;
}

.btn-toolbar .btn + .btn,
.btn-toolbar .btn-group + .btn,
.btn-toolbar .btn + .btn-group {
    margin-left: 5px;
}

.btn-group > .btn {
    position: relative;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.btn-group > .btn + .btn {
    margin-left: -1px;
}

.btn-group > .btn,
.btn-group > .dropdown-menu {
    font-size: 15px;
}

.btn-group > .btn-mini {
    font-size: 11px;
}

.btn-group > .btn-small {
    font-size: 12px;
}

.btn-group > .btn-large {
    font-size: 16px;
}

.btn-group > .btn:first-child {
    margin-left: 0;
    -webkit-border-bottom-left-radius: 4px;
            border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
            border-top-left-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -moz-border-radius-bottomleft: 4px;
}

.btn-group > .btn:last-child,
.btn-group > .dropdown-toggle {
    -webkit-border-top-right-radius: 4px;
            border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
            border-bottom-right-radius: 4px;
        -moz-border-radius-topright: 4px;
        -moz-border-radius-bottomright: 4px;
}

.btn-group > .btn.large:first-child {
    margin-left: 0;
    -webkit-border-bottom-left-radius: 6px;
            border-bottom-left-radius: 6px;
    -webkit-border-top-left-radius: 6px;
            border-top-left-radius: 6px;
        -moz-border-radius-topleft: 6px;
        -moz-border-radius-bottomleft: 6px;
}

.btn-group > .btn.large:last-child,
.btn-group > .large.dropdown-toggle {
    -webkit-border-top-right-radius: 6px;
            border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
            border-bottom-right-radius: 6px;
        -moz-border-radius-topright: 6px;
        -moz-border-radius-bottomright: 6px;
}

.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active {
    z-index: 2;
}

.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
    outline: 0;
}

.btn-group > .btn + .dropdown-toggle {
    padding-right: 8px;
    padding-left: 8px;
    -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
       -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
            box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    *padding-top: 5px;
    *padding-bottom: 5px;
}

.btn-group > .btn-mini + .dropdown-toggle {
    padding-right: 5px;
    padding-left: 5px;
    *padding-top: 2px;
    *padding-bottom: 2px;
}

.btn-group > .btn-small + .dropdown-toggle {
    *padding-top: 5px;
    *padding-bottom: 4px;
}

.btn-group > .btn-large + .dropdown-toggle {
    padding-right: 12px;
    padding-left: 12px;
    *padding-top: 7px;
    *padding-bottom: 7px;
}

.btn-group > .btn + .dropdown-toggle .caret {
    margin-left: -1px;
    margin-right: 0;
}

.btn-group.open .dropdown-toggle {
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
       -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-group.open .btn.dropdown-toggle {
    background-color: #e6e6e6;
}

.btn-group.open .btn-primary.dropdown-toggle {
    background-color: #ae010d;
}

.btn-group.open .btn-warning.dropdown-toggle {
    background-color: #f89406;
}

.btn-group.open .btn-danger.dropdown-toggle {
    background-color: #bd362f;
}

.btn-group.open .btn-success.dropdown-toggle {
    background-color: #51a351;
}

.btn-group.open .btn-info.dropdown-toggle {
    background-color: #2f96b4;
}

.btn-group.open .btn-inverse.dropdown-toggle {
    background-color: #222222;
}

.btn .caret {
    border-top-color: black;
    margin-top: 11px;
    margin-left: 3px;
    opacity: 1; filter: alpha(opacity=100);
}

.btn-mini .caret,
.btn-small .caret,
.btn-large .caret {
    margin-top: 6px;
}

.btn-large .caret {
    border-top-width: 5px;
    border-right-width: 5px;
    border-left-width: 5px;
}

.dropup .btn-large .caret {
    border-top: 0;
    border-bottom: 5px solid #000000;
}

.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;
}

.btn-group-vertical {
    display: inline-block;
    *display: inline; /* IE7 inline-block hack */
    *zoom: 1;
}

.btn-group-vertical .btn {
    display: block;
    float: none;
    width: 100%;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.btn-group-vertical .btn + .btn {
    margin-top: -1px;
    margin-left: 0;
}

.btn-group-vertical .btn:first-child {
    -webkit-border-radius: 4px 4px 0 0;
       -moz-border-radius: 4px 4px 0 0;
            border-radius: 4px 4px 0 0;
}

.btn-group-vertical .btn:last-child {
    -webkit-border-radius: 0 0 4px 4px;
       -moz-border-radius: 0 0 4px 4px;
            border-radius: 0 0 4px 4px;
}

.btn-group-vertical .btn-large:first-child {
    -webkit-border-radius: 6px 6px 0 0;
       -moz-border-radius: 6px 6px 0 0;
            border-radius: 6px 6px 0 0;
}

.btn-group-vertical .btn-large:last-child {
    -webkit-border-radius: 0 0 6px 6px;
       -moz-border-radius: 0 0 6px 6px;
            border-radius: 0 0 6px 6px;
}


/* ========================================================================
   Navs
   ======================================================================== */

.nav {
    list-style: none;
    margin-bottom: 24px;
    margin-left: 0;
}

.nav > li > a {
    display: block;
}

.nav > li > a:hover {
    background-color: #eeeeee;
    text-decoration: none;
}

.nav > .pull-right {
    float: right;
}

.nav-header {
    color: #999999;
    display: block;
    font-size: 11px;
    font-weight: bold;
    line-height: 24px;
    padding: 3px 15px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav li + .nav-header {
    margin-top: 9px;
}

.nav-list {
    margin-bottom: 0;
    padding-right: 15px;
    padding-left: 15px;
}

.nav-list > li > a,
.nav-list .nav-header {
    margin-right: -15px;
    margin-left: -15px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav-list > li > a {
    padding: 3px 15px;
}

.nav-list > .active > a,
.nav-list > .active > a:hover {
    background-color: #cc0000;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.nav-list [class^="icon-"] {
    margin-right: 2px;
}

.nav-list .divider {
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
    height: 1px;
    margin: 11px 1px;
    overflow: hidden;
    *width: 100%;
    *margin: -5px 0 5px;
}

.nav-tabs,
.nav-pills {
    *zoom: 1;
}

.nav-tabs:before,
.nav-pills:before,
.nav-tabs:after,
.nav-pills:after {
    content: "";
    display: table;
    line-height: 0;
}

.nav-tabs:after,
.nav-pills:after {
    clear: both;
}

.nav-tabs > li,
.nav-pills > li {
    float: left;
}

.nav-tabs > li > a,
.nav-pills > li > a {
    line-height: 14px;
    margin-right: 2px;
    padding-right: 12px;
    padding-left: 12px;
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
}

.nav-tabs > li {
    margin-bottom: -1px;
}

.nav-tabs > li > a {
    border: 1px solid transparent;
    line-height: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    -webkit-border-radius: 4px 4px 0 0;
       -moz-border-radius: 4px 4px 0 0;
            border-radius: 4px 4px 0 0;
}

.nav-tabs > li > a:hover {
    border-color: #eeeeee #eeeeee #dddddd;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    color: #555555;
    cursor: default;
}

.nav-pills > li > a {
    margin-top: 2px;
    margin-bottom: 2px;
    padding-top: 8px;
    padding-bottom: 8px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.nav-pills > .active > a,
.nav-pills > .active > a:hover {
    background-color: #cc0000;
    color: #ffffff;
}

.nav-stacked > li {
    float: none;
}

.nav-stacked > li > a {
    margin-right: 0;
}

.nav-tabs.nav-stacked {
    border-bottom: 0;
}

.nav-tabs.nav-stacked > li > a {
    border: 1px solid #ddd;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.nav-tabs.nav-stacked > li:first-child > a {
    -webkit-border-top-right-radius: 4px;
            border-top-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
            border-top-left-radius: 4px;
        -moz-border-radius-topright: 4px;
        -moz-border-radius-topleft: 4px;
}

.nav-tabs.nav-stacked > li:last-child > a {
    -webkit-border-bottom-right-radius: 4px;
            border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
            border-bottom-left-radius: 4px;
        -moz-border-radius-bottomright: 4px;
        -moz-border-radius-bottomleft: 4px;
}

.nav-tabs.nav-stacked > li > a:hover {
    border-color: #ddd;
    z-index: 2;
}

.nav-pills.nav-stacked > li > a {
    margin-bottom: 3px;
}

.nav-pills.nav-stacked > li:last-child > a {
    margin-bottom: 1px;
}

.nav-tabs .dropdown-menu {
    -webkit-border-radius: 0 0 6px 6px;
       -moz-border-radius: 0 0 6px 6px;
            border-radius: 0 0 6px 6px;
}

.nav-pills .dropdown-menu {
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
}

.nav .dropdown-toggle .caret {
    border-top-color: #cc0000;
    border-bottom-color: #cc0000;
    margin-top: 6px;
}

.nav .dropdown-toggle:hover .caret {
    border-top-color: #800000;
    border-bottom-color: #800000;
}

/* move down carets for tabs */
.nav-tabs .dropdown-toggle .caret {
    margin-top: 8px;
}

.nav .active .dropdown-toggle .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.nav-tabs .active .dropdown-toggle .caret {
    border-top-color: #555555;
    border-bottom-color: #555555;
}

.nav > .dropdown.active > a:hover {
    cursor: pointer;
}

.nav-tabs .open .dropdown-toggle,
.nav-pills .open .dropdown-toggle,
.nav > li.dropdown.open.active > a:hover {
    background-color: #999999;
    border-color: #999999;
    color: #ffffff;
}

.nav li.dropdown.open .caret,
.nav li.dropdown.open.active .caret,
.nav li.dropdown.open a:hover .caret {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
    opacity: 1;
    filter: alpha(opacity=100);
}

.tabs-stacked .open > a:hover {
    border-color: #999999;
}

.tabbable {
    *zoom: 1;
}

.tabbable:before,
.tabbable:after {
    content: "";
    display: table;
    line-height: 0;
}

.tabbable:after {
    clear: both;
}

.tab-content {
    overflow: auto;
}

.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
    border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: none;
}

.tab-content > .active,
.pill-content > .active {
    display: block;
}

.tabs-below > .nav-tabs {
    border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
    margin-top: -1px;
    margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
    -webkit-border-radius: 0 0 4px 4px;
       -moz-border-radius: 0 0 4px 4px;
            border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover {
    border-top-color: #ddd;
    border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover {
    border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
    float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
    margin-right: 0;
    margin-bottom: 3px;
    min-width: 74px;
}

.tabs-left > .nav-tabs {
    border-right: 1px solid #ddd;
    float: left;
    margin-right: 19px;
}

.tabs-left > .nav-tabs > li > a {
    margin-right: -1px;
    -webkit-border-radius: 4px 0 0 4px;
       -moz-border-radius: 4px 0 0 4px;
            border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover {
    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover {
    border-color: #ddd transparent #ddd #ddd;
    *border-right-color: #ffffff;
}

.tabs-right > .nav-tabs {
    border-left: 1px solid #ddd;
    float: right;
    margin-left: 19px;
}

.tabs-right > .nav-tabs > li > a {
    margin-left: -1px;
    -webkit-border-radius: 0 4px 4px 0;
       -moz-border-radius: 0 4px 4px 0;
            border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover {
    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover {
    border-color: #ddd #ddd #ddd transparent;
    *border-left-color: #ffffff;
}

.nav > .disabled > a {
    color: #999999;
}

.nav > .disabled > a:hover {
    background-color: transparent;
    cursor: default;
    text-decoration: none;
}


/* ========================================================================
   Navbar
   ======================================================================== */

.navbar {
    color: #777777;
    margin-bottom: 24px;
    overflow: visible;
    *position: relative;
    *z-index: 2;
}

.navbar-inner {
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
    background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
    background-repeat: repeat-x;
    border: 1px solid #d4d4d4;
    min-height: 40px;
    padding-right: 20px;
    padding-left: 20px;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
       -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
    *zoom: 1;
}

.navbar-inner:before,
.navbar-inner:after {
    content: "";
    display: table;
    line-height: 0;
}

.navbar-inner:after {
    clear: both;
}

.navbar .container {
    width: auto;
}

.nav-collapse.collapse {
    height: auto;
}

.navbar .brand {
    color: #777777;
    display: block;
    float: left;
    font-size: 20px;
    font-weight: 200;
    margin-left: -20px;
    padding: 8px 20px 8px;
    text-shadow: 0 1px 0 #ffffff;
}

.navbar .brand:hover {
    text-decoration: none;
}

.navbar-text {
    line-height: 40px;
    margin-bottom: 0;
}

.navbar-link {
    color: #777777;
}

.navbar-link:hover {
    color: #333333;
}

.navbar .divider-vertical {
    border-right: 1px solid #ffffff;
    border-left: 1px solid #f2f2f2;
    height: 40px;
    margin: 0 9px;
}

.navbar .btn,
.navbar .btn-group {
    margin-top: 5px;
}

.navbar .btn-group .btn,
.navbar .input-prepend .btn,
.navbar .input-append .btn {
    margin-top: 0;
}

.navbar-form {
    margin-bottom: 0;
    *zoom: 1;
}

.navbar-form:before,
.navbar-form:after {
    content: "";
    display: table;
    line-height: 0;
}

.navbar-form:after {
    clear: both;
}

.navbar-form input,
.navbar-form select,
.navbar-form .radio,
.navbar-form .checkbox {
    margin-top: 5px;
}

.navbar-form input,
.navbar-form select,
.navbar-form .btn {
    display: inline-block;
    margin-bottom: 0;
}

.navbar-form input[type="image"],
.navbar-form input[type="checkbox"],
.navbar-form input[type="radio"] {
    margin-top: 3px;
}

.navbar-form .input-append,
.navbar-form .input-prepend {
    margin-top: 6px;
    white-space: nowrap;
}

.navbar-form .input-append input,
.navbar-form .input-prepend input {
    margin-top: 0;
}

.navbar-search {
    float: left;
    margin-top: 5px;
    margin-bottom: 0;
    position: relative;
}

.navbar-search .search-query {
    font-family: sans-serif;
    /*font-size: 13px;*/
    font-weight: normal;
    /*line-height: 1;*/
    margin-bottom: 0;
    padding: 2px 14px;
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
            border-radius: 15px;
}

.navbar-static-top {
    margin-bottom: 0;
    position: static;
    width: 100%;
}

.navbar-static-top .navbar-inner {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.navbar-fixed-top,
.navbar-fixed-bottom {
    left: 0;
    margin-bottom: 0;
    position: fixed;
    right: 0;
    z-index: 1030;
}

.navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner {
    border-width: 0 0 1px;
}

.navbar-fixed-bottom .navbar-inner {
    border-width: 1px 0 0;
}

.navbar-fixed-top .navbar-inner,
.navbar-fixed-bottom .navbar-inner {
    padding-right: 0;
    padding-left: 0;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
    width: 936px;
}

.navbar-fixed-top {
    top: 0;
}

.navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner {
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
       -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
}

.navbar-fixed-bottom {
    bottom: 0;
}

.navbar-fixed-bottom .navbar-inner {
    -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1);
       -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1);
            box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1);
}

.navbar .nav {
    display: block;
    float: left;
    left: 0;
    margin: 0 10px 0 0;
    position: relative;
}

.navbar .nav.pull-right {
    float: right;
    margin-right: 0;
}

.navbar .nav > li {
    float: left;
}

.navbar .nav > li > a {
    color: #777777;
    float: none;
    padding: 8px 15px 8px;
    text-decoration: none;
    text-shadow: 0 1px 0 #ffffff;
}

.navbar .nav .dropdown-toggle .caret {
    margin-top: 8px;
}

.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover {
    background-color: transparent;
    color: #333333;
    text-decoration: none;
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
    background-color: #e5e5e5;
    color: #555555;
    text-decoration: none;
    -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
       -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
            box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
}

.navbar .btn-navbar {
    background-color: #ededed;
    background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));
    background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5);
    background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5);
    background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5);
    background-repeat: repeat-x;
    border-color: #e5e5e5 #e5e5e5 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #ffffff;
    display: none;
    float: right;
    margin-right: 5px;
    margin-left: 5px;
    padding: 7px 10px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
       -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #e5e5e5; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.navbar .btn-navbar:hover,
.navbar .btn-navbar:active,
.navbar .btn-navbar.active,
.navbar .btn-navbar.disabled,
.navbar .btn-navbar[disabled] {
    background-color: #e5e5e5;
    color: #ffffff;
    *background-color: #d9d9d9;
}

.navbar .btn-navbar:active,
.navbar .btn-navbar.active {
    background-color: #cccccc \9;
}

.navbar .btn-navbar .icon-bar {
    background-color: #f5f5f5;
    display: block;
    height: 2px;
    width: 18px;
    -webkit-border-radius: 1px;
       -moz-border-radius: 1px;
            border-radius: 1px;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
       -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.btn-navbar .icon-bar + .icon-bar {
    margin-top: 3px;
}

.navbar .nav > li > .dropdown-menu:before {
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    border-left: 7px solid transparent;
    content: '';
    display: inline-block;
    left: 9px;
    position: absolute;
    top: -7px;
}

.navbar .nav > li > .dropdown-menu:after {
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    border-left: 6px solid transparent;
    content: '';
    display: inline-block;
    left: 10px;
    position: absolute;
    top: -6px;
}

.navbar-fixed-bottom .nav > li > .dropdown-menu:before {
    border-top: 7px solid #ccc;
    border-top-color: rgba(0, 0, 0, 0.2);
    border-bottom: 0;
    bottom: -7px;
    top: auto;
}

.navbar-fixed-bottom .nav > li > .dropdown-menu:after {
    border-top: 6px solid #ffffff;
    border-bottom: 0;
    bottom: -6px;
    top: auto;
}

.navbar .nav li.dropdown.open > .dropdown-toggle,
.navbar .nav li.dropdown.active > .dropdown-toggle,
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
    background-color: #e5e5e5;
    color: #555555;
}

.navbar .nav li.dropdown > .dropdown-toggle .caret {
    border-top-color: #777777;
    border-bottom-color: #777777;
}

.navbar .nav li.dropdown.open > .dropdown-toggle .caret,
.navbar .nav li.dropdown.active > .dropdown-toggle .caret,
.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret {
    border-top-color: #555555;
    border-bottom-color: #555555;
}

.navbar .pull-right > li > .dropdown-menu,
.navbar .nav > li > .dropdown-menu.pull-right {
    left: auto;
    right: 0;
}

.navbar .pull-right > li > .dropdown-menu:before,
.navbar .nav > li > .dropdown-menu.pull-right:before {
    left: auto;
    right: 12px;
}

.navbar .pull-right > li > .dropdown-menu:after,
.navbar .nav > li > .dropdown-menu.pull-right:after {
    left: auto;
    right: 13px;
}

.navbar .pull-right > li > .dropdown-menu .dropdown-menu,
.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu {
    left: auto;
    margin-right: -1px;
    margin-left: 0;
    right: 100%;
    -webkit-border-radius: 6px 0 6px 6px;
       -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
}

.navbar-inverse {
    color: #999999;
}

.navbar-inverse .navbar-inner {
    background-color: #1b1b1b;
    background-image: -moz-linear-gradient(top, #222222, #111111);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111));
    background-image: -webkit-linear-gradient(top, #222222, #111111);
    background-image: -o-linear-gradient(top, #222222, #111111);
    background-image: linear-gradient(to bottom, #222222, #111111);
    background-repeat: repeat-x;
    border-color: #252525;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);
}

.navbar-inverse .brand,
.navbar-inverse .nav > li > a {
    color: #999999;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.navbar-inverse .brand:hover,
.navbar-inverse .nav > li > a:hover {
    color: #ffffff;
}

.navbar-inverse .nav > li > a:focus,
.navbar-inverse .nav > li > a:hover {
    background-color: transparent;
    color: #ffffff;
}

.navbar-inverse .nav .active > a,
.navbar-inverse .nav .active > a:hover,
.navbar-inverse .nav .active > a:focus {
    background-color: #111111;
    color: #ffffff;
}

.navbar-inverse .navbar-link {
    color: #999999;
}

.navbar-inverse .navbar-link:hover {
    color: #ffffff;
}

.navbar-inverse .divider-vertical {
    border-right-color: #222222;
    border-left-color: #111111;
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle,
.navbar-inverse .nav li.dropdown.active > .dropdown-toggle,
.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
    background-color: #111111;
    color: #ffffff;
}

.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret {
    border-top-color: #999999;
    border-bottom-color: #999999;
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret,
.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret,
.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
}

.navbar-inverse .navbar-search .search-query {
    background-color: #515151;
    border-color: #111111;
    color: #ffffff;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
       -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
    -webkit-transition: none;
       -moz-transition: none;
         -o-transition: none;
            transition: none;
}

.navbar-inverse .navbar-search .search-query:-moz-placeholder {
    color: #cccccc;
}

.navbar-inverse .navbar-search .search-query:-ms-input-placeholder {
    color: #cccccc;
}

.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder {
    color: #cccccc;
}

.navbar-inverse .navbar-search .search-query:focus,
.navbar-inverse .navbar-search .search-query.focused {
    background-color: #ffffff;
    border: 0;
    color: #333333;
    outline: 0;
    padding: 5px 15px;
    text-shadow: 0 1px 0 #ffffff;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
       -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
            box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.navbar-inverse .btn-navbar {
    background-color: #0e0e0e;
    background-image: -moz-linear-gradient(top, #151515, #040404);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404));
    background-image: -webkit-linear-gradient(top, #151515, #040404);
    background-image: -o-linear-gradient(top, #151515, #040404);
    background-image: linear-gradient(to bottom, #151515, #040404);
    background-repeat: repeat-x;
    border-color: #040404 #040404 #000000;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0);

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    *background-color: #040404; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
}

.navbar-inverse .btn-navbar:hover,
.navbar-inverse .btn-navbar:active,
.navbar-inverse .btn-navbar.active,
.navbar-inverse .btn-navbar.disabled,
.navbar-inverse .btn-navbar[disabled] {
    background-color: #040404;
    color: #ffffff;
    *background-color: #000000;
}

.navbar-inverse .btn-navbar:active,
.navbar-inverse .btn-navbar.active {
    background-color: #000000 \9;
}


/* ========================================================================
   Breadcrumbs
   ======================================================================== */

.breadcrumb {
    background-color: #f5f5f5;
    list-style: none;
    margin: 0 0 24px;
    padding: 8px 15px;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

.breadcrumb li {
    display: inline-block;
    text-shadow: 0 1px 0 #ffffff;
    *display: inline; /* IE7 inline-block hack */
    *zoom: 1;
}

.breadcrumb .divider {
    color: #ccc;
    padding: 0 5px;
}

.breadcrumb .active {
    color: #999999;
}


/* ========================================================================
   Pagination
   ======================================================================== */

.pagination {
    height: 48px;
    margin: 24px 0;
}

.pagination ul {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 0;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
       -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    *display: inline; /* IE7 inline-block hack */
    *zoom: 1;
}

.pagination ul > li {
    display: inline;
}

.pagination ul > li > a,
.pagination ul > li > span {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-left-width: 0;
    float: left;
    line-height: 46px;
    padding: 0 14px;
    text-decoration: none;
}

.pagination ul > li > a:hover,
.pagination ul > .active > a,
.pagination ul > .active > span {
    background-color: #f5f5f5;
}

.pagination ul > .active > a,
.pagination ul > .active > span {
    color: #999999;
    cursor: default;
}

.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover {
    background-color: transparent;
    color: #999999;
    cursor: default;
}

.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
    border-left-width: 1px;
    -webkit-border-radius: 3px 0 0 3px;
       -moz-border-radius: 3px 0 0 3px;
            border-radius: 3px 0 0 3px;
}

.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span {
    -webkit-border-radius: 0 3px 3px 0;
       -moz-border-radius: 0 3px 3px 0;
            border-radius: 0 3px 3px 0;
}

.pagination-centered {
    text-align: center;
}

.pagination-right {
    text-align: right;
}

.pager {
    list-style: none;
    margin: 24px 0;
    text-align: center;
    *zoom: 1;
}

.pager:before,
.pager:after {
    content: "";
    display: table;
    line-height: 0;
}

.pager:after {
    clear: both;
}

.pager li {
    display: inline;
}

.pager a,
.pager span {
    background-color: #fff;
    border: 1px solid #ddd;
    display: inline-block;
    padding: 5px 14px;
    -webkit-border-radius: 20px;
       -moz-border-radius: 20px;
            border-radius: 20px;
}

.pager a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.pager .next a,
.pager .next span {
    float: right;
}

.pager .previous a {
    float: left;
}

.pager .disabled a,
.pager .disabled a:hover,
.pager .disabled span {
    background-color: #fff;
    color: #999999;
    cursor: default;
}


/* ========================================================================
   Thumbnails
   ======================================================================== */

.thumbnails {
    list-style: none;
    margin-left: -24px;
    *zoom: 1;
}

.thumbnails:before,
.thumbnails:after {
    content: "";
    display: table;
    line-height: 0;
}

.thumbnails:after {
    clear: both;
}

.thumbnails > li {
    float: left;
    margin-bottom: 24px;
    margin-left: 24px;
}

.thumbnail {
    border: 1px solid #ddd;
    display: block;
    line-height: 24px;
    padding: 4px;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
       -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
    -webkit-transition: all 0.2s ease-in-out;
       -moz-transition: all 0.2s ease-in-out;
         -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
}

a.thumbnail:hover {
    border-color: #cc0000;
    -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
       -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
            box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

.thumbnail > img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

.thumbnail .caption {
    color: #555555;
    padding: 9px;
}

.img-rounded {
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
}

.img-polaroid {
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
       -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.img-circle {
    -webkit-border-radius: 500px;
       -moz-border-radius: 500px;
            border-radius: 500px;
}


/* ========================================================================
   Alerts
   ======================================================================== */

.alert {
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    color: #c09853;
    margin-bottom: 24px;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

.alert h4 {
    margin: 0;
}

.alert .close {
    line-height: 24px;
    position: relative;
    right: -21px;
    /*top: -2px;*/
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
}

.alert-danger,
.alert-error {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
}

.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
}

.alert-block {
    padding-top: 14px;
    padding-bottom: 14px;
}

.alert-block > p,
.alert-block > ul {
    margin-bottom: 0;
}

.alert-block p + p {
    margin-top: 5px;
}

.tooltip {
    display: block;
    font-size: 11px;
    opacity: 0;
    padding: 5px;
    position: absolute;
    visibility: visible;
    z-index: 1030;
    filter: alpha(opacity=0);
}

.tooltip.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.tooltip.top {
    margin-top: -3px;
}

.tooltip.right {
    margin-left: 3px;
}

.tooltip.bottom {
    margin-top: 3px;
}

.tooltip.left {
    margin-left: -3px;
}

.tooltip-inner {
    background-color: #000000;
    color: #ffffff;
    max-width: 200px;
    padding: 3px 8px;
    text-align: center;
    text-decoration: none;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

.tooltip-arrow {
    border-style: solid;
    border-color: transparent;
    height: 0;
    position: absolute;
    width: 0;
}

.tooltip.top .tooltip-arrow {
    border-width: 5px 5px 0;
    border-top-color: #000000;
    bottom: 0;
    left: 50%;
    margin-left: -5px;
}

.tooltip.right .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-right-color: #000000;
    left: 0;
    margin-top: -5px;
    top: 50%;
}

.tooltip.left .tooltip-arrow {
    border-width: 5px 0 5px 5px;
    border-left-color: #000000;
    margin-top: -5px;
    right: 0;
    top: 50%;
}

.tooltip.bottom .tooltip-arrow {
    border-width: 0 5px 5px;
    border-bottom-color: #000000;
    left: 50%;
    margin-left: -5px;
    top: 0;
}

.popover {
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 1px;
    position: absolute;
    top: 0;
    width: 236px;
    z-index: 1010;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
    -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;
}

.popover.top {
    margin-bottom: 10px;
}

.popover.right {
    margin-left: 10px;
}

.popover.bottom {
    margin-top: 10px;
}

.popover.left {
    margin-right: 10px;
}

.popover-title {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    margin: 0;
    padding: 8px 14px;
    -webkit-border-radius: 5px 5px 0 0;
       -moz-border-radius: 5px 5px 0 0;
            border-radius: 5px 5px 0 0;
}

.popover-content {
    padding: 9px 14px;
}

.popover-content p,
.popover-content ul,
.popover-content ol {
    margin-bottom: 0;
}

.popover .arrow,
.popover .arrow:after {
    border-style: solid;
    border-color: transparent;
    display: inline-block;
    height: 0;
    position: absolute;
    width: 0;
}

.popover .arrow:after {
    content: "";
    z-index: -1;
}

.popover.top .arrow {
    border-width: 10px 10px 0;
    border-top-color: #ffffff;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
}

.popover.top .arrow:after {
    border-width: 11px 11px 0;
    border-top-color: rgba(0, 0, 0, 0.25);
    bottom: -1px;
    left: -11px;
}

.popover.right .arrow {
    border-width: 10px 10px 10px 0;
    border-right-color: #ffffff;
    left: -10px;
    margin-top: -10px;
    top: 50%;
}

.popover.right .arrow:after {
    border-width: 11px 11px 11px 0;
    border-right-color: rgba(0, 0, 0, 0.25);
    bottom: -11px;
    left: -1px;
}

.popover.bottom .arrow {
    border-width: 0 10px 10px;
    border-bottom-color: #ffffff;
    left: 50%;
    margin-left: -10px;
    top: -10px;
}

.popover.bottom .arrow:after {
    border-width: 0 11px 11px;
    border-bottom-color: rgba(0, 0, 0, 0.25);
    left: -11px;
    top: -1px;
}

.popover.left .arrow {
    border-width: 10px 0 10px 10px;
    border-left-color: #ffffff;
    margin-top: -10px;
    right: -10px;
    top: 50%;
}

.popover.left .arrow:after {
    border-width: 11px 0 11px 11px;
    border-left-color: rgba(0, 0, 0, 0.25);
    bottom: -11px;
    right: -1px;
}

.modal-open .modal .dropdown-menu {
    z-index: 2050;
}

.modal-open .modal .dropdown.open {
    *z-index: 2050;
}

.modal-open .modal .popover {
    z-index: 2060;
}

.modal-open .modal .tooltip {
    z-index: 2080;
}

.modal-backdrop {
    background-color: #000000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.modal {
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, 0.3);
    left: 50%;
    margin: -250px 0 0 -280px;
    overflow: auto;
    position: fixed;
    top: 50%;
    width: 560px;
    z-index: 1050;

    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
       -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
            box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    *border: 1px solid #999; /* IE6-7 */
    -webkit-background-clip: padding-box;
       -moz-background-clip: padding-box;
}

.modal.fade {
    top: -25%;
    -webkit-transition: opacity .3s linear, top .3s ease-out;
       -moz-transition: opacity .3s linear, top .3s ease-out;
         -o-transition: opacity .3s linear, top .3s ease-out;
            transition: opacity .3s linear, top .3s ease-out;
}

.modal.fade.in {
    top: 50%;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 9px 15px;
}

.modal-header .close {
    margin-top: 2px;
}

.modal-header h3 {
    line-height: 30px;
    margin: 0;
}

.modal-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.modal-form {
    margin-bottom: 0;
}

.modal-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    margin-bottom: 0;
    padding: 14px 15px 15px;
    text-align: right;
    -webkit-border-radius: 0 0 6px 6px;
       -moz-border-radius: 0 0 6px 6px;
            border-radius: 0 0 6px 6px;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
       -moz-box-shadow: inset 0 1px 0 #ffffff;
            box-shadow: inset 0 1px 0 #ffffff;
    *zoom: 1;
}

.modal-footer:before,
.modal-footer:after {
    content: "";
    display: table;
    line-height: 0;
}

.modal-footer:after {
    clear: both;
}

.modal-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}

.dropup,
.dropdown {
    position: relative;
}

.dropdown-toggle {
    *margin-bottom: -3px;
}

.dropdown-toggle:active,
.open .dropdown-toggle {
    outline: 0;
}

.caret {
    border-top: 4px solid #000000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
    display: inline-block;
    height: 0;
    vertical-align: middle;
    width: 0;
}

.dropdown .caret {
    margin-top: 8px;
    margin-left: 2px;
}

.dropdown-menu {
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: none;
    float: left;
    left: 0;
    list-style: none;
    margin: 2px 0 0;
    min-width: 160px;
    padding: 5px 0;
    position: absolute;
    top: 100%;
    z-index: 1000;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
    -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);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-background-clip: padding-box;
       -moz-background-clip: padding;
}

.dropdown-menu.pull-right {
    left: auto;
    right: 0;
}

.dropdown-menu .divider {
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
    height: 1px;
    margin: 11px 1px;
    overflow: hidden;
    *width: 100%;
    *margin: -5px 0 5px;
}

.dropdown-menu a {
    clear: both;
    color: #333333;
    display: block;
    font-weight: normal;
    line-height: 24px;
    padding: 3px 20px;
    white-space: nowrap;
}

.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a {
    background-color: #cc0000;
    background-color: #c20000;
    background-image: -moz-linear-gradient(top, #cc0000, #b30000);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cc0000), to(#b30000));
    background-image: -webkit-linear-gradient(top, #cc0000, #b30000);
    background-image: -o-linear-gradient(top, #cc0000, #b30000);
    background-image: linear-gradient(to bottom, #cc0000, #b30000);
    background-repeat: repeat-x;
    color: #ffffff;
    text-decoration: none;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcc0000', endColorstr='#ffb30000', GradientType=0);
}

.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
    background-color: #cc0000;
    background-color: #c20000;
    background-image: -moz-linear-gradient(top, #cc0000, #b30000);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cc0000), to(#b30000));
    background-image: -webkit-linear-gradient(top, #cc0000, #b30000);
    background-image: -o-linear-gradient(top, #cc0000, #b30000);
    background-image: linear-gradient(to bottom, #cc0000, #b30000);
    background-repeat: repeat-x;
    color: #ffffff;
    outline: 0;
    text-decoration: none;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcc0000', endColorstr='#ffb30000', GradientType=0);
}

.dropdown-menu .disabled > a,
.dropdown-menu .disabled > a:hover {
    color: #999999;
}

.dropdown-menu .disabled > a:hover {
    background-color: transparent;
    cursor: default;
    text-decoration: none;
}

.open {
    *z-index: 1000;
}

.open  > .dropdown-menu {
    display: block;
}

.pull-right > .dropdown-menu {
    left: auto;
    right: 0;
}

.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
    border-top: 0;
    border-bottom: 4px solid #000000;
    content: "";
}

.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
    bottom: 100%;
    margin-bottom: 1px;
    top: auto;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    top: 0;
    -webkit-border-radius: 0 6px 6px 6px;
       -moz-border-radius: 0 6px 6px 6px;
            border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent;
    border-left-color: #cccccc;
    content: " ";
    display: block;
    float: right;
    height: 0;
    margin-top: 5px;
    margin-right: -10px;
    width: 0;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown .dropdown-menu .nav-header {
    padding-right: 20px;
    padding-left: 20px;
}

.typeahead {
    margin-top: 2px;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

.accordion {
    margin-bottom: 24px;
}

.accordion-group {
    border: 1px solid #e5e5e5;
    margin-bottom: 2px;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

.accordion-heading {
    border-bottom: 0;
}

.accordion-heading .accordion-toggle {
    display: block;
    padding: 8px 15px;
}

.accordion-toggle {
    cursor: pointer;
}

.accordion-inner {
    border-top: 1px solid #e5e5e5;
    padding: 9px 15px;
}

.carousel {
    line-height: 1;
    margin-bottom: 24px;
    position: relative;
}

.carousel-inner {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel .item {
    display: none;
    position: relative;
    -webkit-transition: 0.6s ease-in-out left;
       -moz-transition: 0.6s ease-in-out left;
         -o-transition: 0.6s ease-in-out left;
            transition: 0.6s ease-in-out left;
}

.carousel .item > img {
    display: block;
    line-height: 1;
}

.carousel .active,
.carousel .next,
.carousel .prev {
    display: block;
}

.carousel .active {
    left: 0;
}

.carousel .next,
.carousel .prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.carousel .next {
    left: 100%;
}

.carousel .prev {
    left: -100%;
}

.carousel .next.left,
.carousel .prev.right {
    left: 0;
}

.carousel .active.left {
    left: -100%;
}

.carousel .active.right {
    left: 100%;
}

.carousel-control {
    background: #222222;
    border: 3px solid #ffffff;
    color: #ffffff;
    font-size: 60px;
    font-weight: 100;
    height: 40px;
    left: 15px;
    line-height: 30px;
    margin-top: -20px;
    opacity: 0.5;
    position: absolute;
    text-align: center;
    top: 40%;
    width: 40px;
    -webkit-border-radius: 23px;
       -moz-border-radius: 23px;
            border-radius: 23px;
    filter: alpha(opacity=50);
}

.carousel-control.right {
    left: auto;
    right: 15px;
}

.carousel-control:hover {
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
    filter: alpha(opacity=90);
}

.carousel-caption {
    background: #333333;
    background: rgba(0, 0, 0, 0.75);
    bottom: 0;
    left: 0;
    padding: 15px;
    position: absolute;
    right: 0;
}

.carousel-caption h4,
.carousel-caption p {
    color: #ffffff;
    line-height: 24px;
}

.carousel-caption h4 {
    margin: 0 0 5px;
}

.carousel-caption p {
    margin-bottom: 0;
}


/* ========================================================================
   Miscellaneous
   ======================================================================== */

.well {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    margin-bottom: 20px;
    min-height: 20px;
    padding: 19px;
    -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);
}

.well-large {
    padding: 24px;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
}

.well-small {
    padding: 9px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

.close {
    color: #000000;
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    opacity: 0.2;
    text-shadow: 0 1px 0 #ffffff;
    filter: alpha(opacity=20);
}

.close:hover {
    color: #000000;
    cursor: pointer;
    opacity: 0.4;
    text-decoration: none;
    filter: alpha(opacity=40);
}

button.close {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
}


/* ========================================================================
   Helper classes
   ======================================================================== */

.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
    line-height: 0;
}

.clearfix:after {
    clear: both;
}

.hide-text {
    background-color: transparent;
    border: 0;
    color: transparent;
    font: 0/0 a;
    text-shadow: none;
}

.input-block-level {
    display: block;
    min-height: 30px;
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.pull-right {
    float: right;
    margin-left: 24px;
}

.pull-left {
    float: left;
    margin-right: 24px;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.invisible {
    visibility: hidden;
}

.affix {
    position: fixed;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
       -moz-transition: opacity 0.15s linear;
         -o-transition: opacity 0.15s linear;
            transition: opacity 0.15s linear;
}

.fade.in {
    opacity: 1;
}

.collapse {
    height: 0;
    overflow: hidden;
    position: relative;
    -webkit-transition: height 0.35s ease;
       -moz-transition: height 0.35s ease;
         -o-transition: height 0.35s ease;
            transition: height 0.35s ease;
}

.collapse.in {
    height: auto;
}

.hidden {
    display: none;
    visibility: hidden;
}